mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
74 lines
2.4 KiB
C++
74 lines
2.4 KiB
C++
#ifndef GODOT_CPP_ANIMATIONNODEBLENDSPACE1D_HPP
|
|
#define GODOT_CPP_ANIMATIONNODEBLENDSPACE1D_HPP
|
|
|
|
|
|
#include <gdnative_api_struct.gen.h>
|
|
#include <stdint.h>
|
|
|
|
#include <core/CoreTypes.hpp>
|
|
#include <core/Ref.hpp>
|
|
|
|
#include "AnimationRootNode.hpp"
|
|
namespace godot {
|
|
|
|
class AnimationRootNode;
|
|
|
|
class AnimationNodeBlendSpace1D : public AnimationRootNode {
|
|
struct ___method_bindings {
|
|
godot_method_bind *mb__add_blend_point;
|
|
godot_method_bind *mb__tree_changed;
|
|
godot_method_bind *mb_add_blend_point;
|
|
godot_method_bind *mb_get_blend_point_count;
|
|
godot_method_bind *mb_get_blend_point_node;
|
|
godot_method_bind *mb_get_blend_point_position;
|
|
godot_method_bind *mb_get_max_space;
|
|
godot_method_bind *mb_get_min_space;
|
|
godot_method_bind *mb_get_snap;
|
|
godot_method_bind *mb_get_value_label;
|
|
godot_method_bind *mb_remove_blend_point;
|
|
godot_method_bind *mb_set_blend_point_node;
|
|
godot_method_bind *mb_set_blend_point_position;
|
|
godot_method_bind *mb_set_max_space;
|
|
godot_method_bind *mb_set_min_space;
|
|
godot_method_bind *mb_set_snap;
|
|
godot_method_bind *mb_set_value_label;
|
|
};
|
|
static ___method_bindings ___mb;
|
|
|
|
public:
|
|
static void ___init_method_bindings();
|
|
|
|
static inline const char *___get_class_name() { return (const char *) "AnimationNodeBlendSpace1D"; }
|
|
static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; }
|
|
|
|
// enums
|
|
|
|
// constants
|
|
|
|
|
|
static AnimationNodeBlendSpace1D *_new();
|
|
|
|
// methods
|
|
void _add_blend_point(const int64_t index, const Ref<AnimationRootNode> node);
|
|
void _tree_changed();
|
|
void add_blend_point(const Ref<AnimationRootNode> node, const real_t pos, const int64_t at_index = -1);
|
|
int64_t get_blend_point_count() const;
|
|
Ref<AnimationRootNode> get_blend_point_node(const int64_t point) const;
|
|
real_t get_blend_point_position(const int64_t point) const;
|
|
real_t get_max_space() const;
|
|
real_t get_min_space() const;
|
|
real_t get_snap() const;
|
|
String get_value_label() const;
|
|
void remove_blend_point(const int64_t point);
|
|
void set_blend_point_node(const int64_t point, const Ref<AnimationRootNode> node);
|
|
void set_blend_point_position(const int64_t point, const real_t pos);
|
|
void set_max_space(const real_t max_space);
|
|
void set_min_space(const real_t min_space);
|
|
void set_snap(const real_t snap);
|
|
void set_value_label(const String text);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |