mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
lib + include + Godot dossier
This commit is contained in:
72
GodoBinding/include/gen/AnimationNodeOneShot.hpp
Normal file
72
GodoBinding/include/gen/AnimationNodeOneShot.hpp
Normal file
@@ -0,0 +1,72 @@
|
||||
#ifndef GODOT_CPP_ANIMATIONNODEONESHOT_HPP
|
||||
#define GODOT_CPP_ANIMATIONNODEONESHOT_HPP
|
||||
|
||||
|
||||
#include <gdnative_api_struct.gen.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <core/CoreTypes.hpp>
|
||||
#include <core/Ref.hpp>
|
||||
#include "AnimationNodeOneShot.hpp"
|
||||
|
||||
#include "AnimationNode.hpp"
|
||||
namespace godot {
|
||||
|
||||
|
||||
class AnimationNodeOneShot : public AnimationNode {
|
||||
struct ___method_bindings {
|
||||
godot_method_bind *mb_get_autorestart_delay;
|
||||
godot_method_bind *mb_get_autorestart_random_delay;
|
||||
godot_method_bind *mb_get_fadein_time;
|
||||
godot_method_bind *mb_get_fadeout_time;
|
||||
godot_method_bind *mb_get_mix_mode;
|
||||
godot_method_bind *mb_has_autorestart;
|
||||
godot_method_bind *mb_is_using_sync;
|
||||
godot_method_bind *mb_set_autorestart;
|
||||
godot_method_bind *mb_set_autorestart_delay;
|
||||
godot_method_bind *mb_set_autorestart_random_delay;
|
||||
godot_method_bind *mb_set_fadein_time;
|
||||
godot_method_bind *mb_set_fadeout_time;
|
||||
godot_method_bind *mb_set_mix_mode;
|
||||
godot_method_bind *mb_set_use_sync;
|
||||
};
|
||||
static ___method_bindings ___mb;
|
||||
|
||||
public:
|
||||
static void ___init_method_bindings();
|
||||
|
||||
static inline const char *___get_class_name() { return (const char *) "AnimationNodeOneShot"; }
|
||||
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
|
||||
enum MixMode {
|
||||
MIX_MODE_BLEND = 0,
|
||||
MIX_MODE_ADD = 1,
|
||||
};
|
||||
|
||||
// constants
|
||||
|
||||
|
||||
static AnimationNodeOneShot *_new();
|
||||
|
||||
// methods
|
||||
real_t get_autorestart_delay() const;
|
||||
real_t get_autorestart_random_delay() const;
|
||||
real_t get_fadein_time() const;
|
||||
real_t get_fadeout_time() const;
|
||||
AnimationNodeOneShot::MixMode get_mix_mode() const;
|
||||
bool has_autorestart() const;
|
||||
bool is_using_sync() const;
|
||||
void set_autorestart(const bool enable);
|
||||
void set_autorestart_delay(const real_t enable);
|
||||
void set_autorestart_random_delay(const real_t enable);
|
||||
void set_fadein_time(const real_t time);
|
||||
void set_fadeout_time(const real_t time);
|
||||
void set_mix_mode(const int64_t mode);
|
||||
void set_use_sync(const bool enable);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user