godot-cpp/include/gen/PathFollow2D.hpp

52 lines
1.3 KiB
C++
Raw Normal View History

#ifndef GODOT_CPP_PATHFOLLOW2D_HPP
#define GODOT_CPP_PATHFOLLOW2D_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
namespace godot {
class PathFollow2D : public Node2D {
public:
static void *___get_type_tag();
static void *___get_base_type_tag();
static inline const char *___get_class_name() { return (const char *) "PathFollow2D"; }
static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o); }
// enums
// constants
static PathFollow2D *_new();
// methods
void set_offset(const double offset);
double get_offset() const;
void set_h_offset(const double h_offset);
double get_h_offset() const;
void set_v_offset(const double v_offset);
double get_v_offset() const;
void set_unit_offset(const double unit_offset);
double get_unit_offset() const;
void set_rotate(const bool enable);
bool is_rotating() const;
void set_cubic_interpolation(const bool enable);
bool get_cubic_interpolation() const;
void set_loop(const bool loop);
bool has_loop() const;
void set_lookahead(const double lookahead);
double get_lookahead() const;
};
}
#endif