2014-02-10 09:10:30 +08:00
|
|
|
/*************************************************************************/
|
|
|
|
/* animation_player.h */
|
|
|
|
/*************************************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
2017-08-27 20:16:55 +08:00
|
|
|
/* https://godotengine.org */
|
2014-02-10 09:10:30 +08:00
|
|
|
/*************************************************************************/
|
2021-01-02 03:13:46 +08:00
|
|
|
/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */
|
|
|
|
/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */
|
2014-02-10 09:10:30 +08:00
|
|
|
/* */
|
|
|
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
|
|
/* a copy of this software and associated documentation files (the */
|
|
|
|
/* "Software"), to deal in the Software without restriction, including */
|
|
|
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
|
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
|
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
|
|
/* the following conditions: */
|
|
|
|
/* */
|
|
|
|
/* The above copyright notice and this permission notice shall be */
|
|
|
|
/* included in all copies or substantial portions of the Software. */
|
|
|
|
/* */
|
|
|
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
|
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
|
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
|
|
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
|
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
|
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
|
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
|
|
/*************************************************************************/
|
2018-01-05 07:50:27 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
#ifndef ANIMATION_PLAYER_H
|
|
|
|
#define ANIMATION_PLAYER_H
|
|
|
|
|
|
|
|
#include "scene/2d/node_2d.h"
|
2020-03-27 05:49:16 +08:00
|
|
|
#include "scene/3d/node_3d.h"
|
|
|
|
#include "scene/3d/skeleton_3d.h"
|
2017-03-05 23:44:50 +08:00
|
|
|
#include "scene/resources/animation.h"
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-11-02 04:32:39 +08:00
|
|
|
#ifdef TOOLS_ENABLED
|
2021-06-05 00:03:15 +08:00
|
|
|
class AnimatedValuesBackup : public RefCounted {
|
|
|
|
GDCLASS(AnimatedValuesBackup, RefCounted);
|
2020-12-20 18:46:44 +08:00
|
|
|
|
2017-11-02 04:32:39 +08:00
|
|
|
struct Entry {
|
2021-02-08 05:29:31 +08:00
|
|
|
Object *object = nullptr;
|
2017-11-02 04:32:39 +08:00
|
|
|
Vector<StringName> subpath; // Unused if bone
|
2021-02-08 05:29:31 +08:00
|
|
|
int bone_idx = -1; // -1 if not a bone
|
2017-11-02 04:32:39 +08:00
|
|
|
Variant value;
|
|
|
|
};
|
|
|
|
Vector<Entry> entries;
|
|
|
|
|
|
|
|
friend class AnimationPlayer;
|
2017-10-31 02:43:19 +08:00
|
|
|
|
2020-12-20 18:46:44 +08:00
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
2017-10-31 02:43:19 +08:00
|
|
|
public:
|
|
|
|
void update_skeletons();
|
2020-12-20 18:46:44 +08:00
|
|
|
void restore() const;
|
2017-11-02 04:32:39 +08:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
class AnimationPlayer : public Node {
|
2017-03-05 23:44:50 +08:00
|
|
|
GDCLASS(AnimationPlayer, Node);
|
2014-02-10 09:10:30 +08:00
|
|
|
OBJ_CATEGORY("Animation Nodes");
|
|
|
|
|
|
|
|
public:
|
2021-02-19 02:52:29 +08:00
|
|
|
enum AnimationProcessCallback {
|
2017-09-30 22:19:07 +08:00
|
|
|
ANIMATION_PROCESS_PHYSICS,
|
2014-02-10 09:10:30 +08:00
|
|
|
ANIMATION_PROCESS_IDLE,
|
2018-08-02 15:22:24 +08:00
|
|
|
ANIMATION_PROCESS_MANUAL,
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
2018-12-09 02:56:20 +08:00
|
|
|
enum AnimationMethodCallMode {
|
|
|
|
ANIMATION_METHOD_CALL_DEFERRED,
|
|
|
|
ANIMATION_METHOD_CALL_IMMEDIATE,
|
|
|
|
};
|
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
private:
|
|
|
|
enum {
|
2017-03-05 23:44:50 +08:00
|
|
|
NODE_CACHE_UPDATE_MAX = 1024,
|
|
|
|
BLEND_FROM_MAX = 3
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
enum SpecialProperty {
|
|
|
|
SP_NONE,
|
|
|
|
SP_NODE2D_POS,
|
|
|
|
SP_NODE2D_ROT,
|
|
|
|
SP_NODE2D_SCALE,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct TrackNodeCache {
|
2015-12-06 01:18:22 +08:00
|
|
|
NodePath path;
|
2020-05-12 23:01:17 +08:00
|
|
|
uint32_t id = 0;
|
2014-02-10 09:10:30 +08:00
|
|
|
RES resource;
|
2020-05-12 23:01:17 +08:00
|
|
|
Node *node = nullptr;
|
|
|
|
Node2D *node_2d = nullptr;
|
2021-03-18 07:35:42 +08:00
|
|
|
#ifndef _3D_DISABLED
|
|
|
|
Node3D *node_3d = nullptr;
|
2020-05-12 23:01:17 +08:00
|
|
|
Skeleton3D *skeleton = nullptr;
|
2021-03-18 07:35:42 +08:00
|
|
|
#endif // _3D_DISABLED
|
2020-05-12 23:01:17 +08:00
|
|
|
int bone_idx = -1;
|
2014-02-10 09:10:30 +08:00
|
|
|
// accumulated transforms
|
|
|
|
|
|
|
|
Vector3 loc_accum;
|
2021-01-20 15:02:02 +08:00
|
|
|
Quaternion rot_accum;
|
2014-02-10 09:10:30 +08:00
|
|
|
Vector3 scale_accum;
|
2020-05-12 23:01:17 +08:00
|
|
|
uint64_t accum_pass = 0;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2020-05-12 23:01:17 +08:00
|
|
|
bool audio_playing = false;
|
|
|
|
float audio_start = 0.0;
|
|
|
|
float audio_len = 0.0;
|
2018-06-07 23:46:14 +08:00
|
|
|
|
2020-05-12 23:01:17 +08:00
|
|
|
bool animation_playing = false;
|
2018-06-07 23:46:14 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
struct PropertyAnim {
|
2020-05-12 23:01:17 +08:00
|
|
|
TrackNodeCache *owner = nullptr;
|
|
|
|
SpecialProperty special = SP_NONE; //small optimization
|
2017-05-31 04:20:15 +08:00
|
|
|
Vector<StringName> subpath;
|
2020-05-12 23:01:17 +08:00
|
|
|
Object *object = nullptr;
|
2014-02-10 09:10:30 +08:00
|
|
|
Variant value_accum;
|
2020-05-12 23:01:17 +08:00
|
|
|
uint64_t accum_pass = 0;
|
2018-06-07 23:46:14 +08:00
|
|
|
Variant capture;
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
Map<StringName, PropertyAnim> property_anim;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2018-06-07 23:46:14 +08:00
|
|
|
struct BezierAnim {
|
|
|
|
Vector<StringName> bezier_property;
|
2020-05-12 23:01:17 +08:00
|
|
|
TrackNodeCache *owner = nullptr;
|
|
|
|
float bezier_accum = 0.0;
|
|
|
|
Object *object = nullptr;
|
|
|
|
uint64_t accum_pass = 0;
|
2018-06-07 23:46:14 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
Map<StringName, BezierAnim> bezier_anim;
|
|
|
|
|
2020-05-12 23:01:17 +08:00
|
|
|
TrackNodeCache() {}
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct TrackNodeCacheKey {
|
2020-02-13 01:24:06 +08:00
|
|
|
ObjectID id;
|
2021-02-08 05:29:31 +08:00
|
|
|
int bone_idx = -1;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
inline bool operator<(const TrackNodeCacheKey &p_right) const {
|
2020-05-14 22:41:43 +08:00
|
|
|
if (id == p_right.id) {
|
2017-03-05 23:44:50 +08:00
|
|
|
return bone_idx < p_right.bone_idx;
|
2020-05-14 22:41:43 +08:00
|
|
|
} else {
|
2020-02-13 01:24:06 +08:00
|
|
|
return id < p_right.id;
|
2020-05-14 22:41:43 +08:00
|
|
|
}
|
2014-02-10 09:10:30 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
Map<TrackNodeCacheKey, TrackNodeCache> node_cache_map;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
TrackNodeCache *cache_update[NODE_CACHE_UPDATE_MAX];
|
2021-02-08 05:29:31 +08:00
|
|
|
int cache_update_size = 0;
|
2017-03-05 23:44:50 +08:00
|
|
|
TrackNodeCache::PropertyAnim *cache_update_prop[NODE_CACHE_UPDATE_MAX];
|
2021-02-08 05:29:31 +08:00
|
|
|
int cache_update_prop_size = 0;
|
2018-06-07 23:46:14 +08:00
|
|
|
TrackNodeCache::BezierAnim *cache_update_bezier[NODE_CACHE_UPDATE_MAX];
|
2021-02-08 05:29:31 +08:00
|
|
|
int cache_update_bezier_size = 0;
|
2018-06-07 23:46:14 +08:00
|
|
|
Set<TrackNodeCache *> playing_caches;
|
|
|
|
|
2021-02-08 05:29:31 +08:00
|
|
|
uint64_t accum_pass = 1;
|
|
|
|
float speed_scale = 1.0;
|
|
|
|
float default_blend_time = 0.0;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
struct AnimationData {
|
|
|
|
String name;
|
|
|
|
StringName next;
|
2017-03-05 23:44:50 +08:00
|
|
|
Vector<TrackNodeCache *> node_cache;
|
2014-02-10 09:10:30 +08:00
|
|
|
Ref<Animation> animation;
|
|
|
|
};
|
|
|
|
|
|
|
|
Map<StringName, AnimationData> animation_set;
|
|
|
|
struct BlendKey {
|
|
|
|
StringName from;
|
|
|
|
StringName to;
|
2017-03-05 23:44:50 +08:00
|
|
|
bool operator<(const BlendKey &bk) const { return from == bk.from ? String(to) < String(bk.to) : String(from) < String(bk.from); }
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
Map<BlendKey, float> blend_times;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
struct PlaybackData {
|
2021-02-08 05:29:31 +08:00
|
|
|
AnimationData *from = nullptr;
|
|
|
|
float pos = 0.0;
|
|
|
|
float speed_scale = 1.0;
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
struct Blend {
|
|
|
|
PlaybackData data;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2021-02-08 05:29:31 +08:00
|
|
|
float blend_time = 0.0;
|
|
|
|
float blend_left = 0.0;
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
struct Playback {
|
2016-03-09 07:00:52 +08:00
|
|
|
List<Blend> blend;
|
2014-02-10 09:10:30 +08:00
|
|
|
PlaybackData current;
|
|
|
|
StringName assigned;
|
2021-02-08 05:29:31 +08:00
|
|
|
bool seeked = false;
|
|
|
|
bool started = false;
|
2014-02-10 09:10:30 +08:00
|
|
|
} playback;
|
|
|
|
|
|
|
|
List<StringName> queued;
|
|
|
|
|
2021-02-08 05:29:31 +08:00
|
|
|
bool end_reached = false;
|
|
|
|
bool end_notify = false;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
String autoplay;
|
2021-02-08 05:29:31 +08:00
|
|
|
bool reset_on_save = true;
|
2021-02-19 02:52:29 +08:00
|
|
|
AnimationProcessCallback process_callback = ANIMATION_PROCESS_IDLE;
|
2021-02-08 05:29:31 +08:00
|
|
|
AnimationMethodCallMode method_call_mode = ANIMATION_METHOD_CALL_DEFERRED;
|
|
|
|
bool processing = false;
|
|
|
|
bool active = true;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
NodePath root;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2021-05-21 14:42:37 +08:00
|
|
|
void _animation_process_animation(AnimationData *p_anim, double p_time, double p_delta, float p_interp, bool p_is_current = true, bool p_seeked = false, bool p_started = false);
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2021-02-10 04:41:48 +08:00
|
|
|
void _ensure_node_caches(AnimationData *p_anim, Node *p_root_override = nullptr);
|
2021-05-21 14:42:37 +08:00
|
|
|
void _animation_process_data(PlaybackData &cd, double p_delta, float p_blend, bool p_seeked, bool p_started);
|
|
|
|
void _animation_process2(double p_delta, bool p_started);
|
2014-02-10 09:10:30 +08:00
|
|
|
void _animation_update_transforms();
|
2021-05-21 14:42:37 +08:00
|
|
|
void _animation_process(double p_delta);
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
void _node_removed(Node *p_node);
|
2018-06-07 23:46:14 +08:00
|
|
|
void _stop_playing_caches();
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
// bind helpers
|
2020-02-18 05:06:54 +08:00
|
|
|
Vector<String> _get_animation_list() const {
|
2014-02-10 09:10:30 +08:00
|
|
|
List<StringName> animations;
|
|
|
|
get_animation_list(&animations);
|
2020-02-18 05:06:54 +08:00
|
|
|
Vector<String> ret;
|
2017-03-05 23:44:50 +08:00
|
|
|
while (animations.size()) {
|
|
|
|
ret.push_back(animations.front()->get());
|
2014-02-10 09:10:30 +08:00
|
|
|
animations.pop_front();
|
|
|
|
}
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
void _animation_changed();
|
2017-03-05 23:44:50 +08:00
|
|
|
void _ref_anim(const Ref<Animation> &p_anim);
|
|
|
|
void _unref_anim(const Ref<Animation> &p_anim);
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void _set_process(bool p_process, bool p_force = false);
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2021-02-08 05:29:31 +08:00
|
|
|
bool playing = false;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
protected:
|
2017-03-05 23:44:50 +08:00
|
|
|
bool _set(const StringName &p_name, const Variant &p_value);
|
|
|
|
bool _get(const StringName &p_name, Variant &r_ret) const;
|
2020-07-10 18:34:39 +08:00
|
|
|
virtual void _validate_property(PropertyInfo &property) const override;
|
2017-03-05 23:44:50 +08:00
|
|
|
void _get_property_list(List<PropertyInfo> *p_list) const;
|
2014-02-10 09:10:30 +08:00
|
|
|
void _notification(int p_what);
|
2016-03-09 07:00:52 +08:00
|
|
|
|
|
|
|
static void _bind_methods();
|
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
public:
|
2017-03-05 23:44:50 +08:00
|
|
|
StringName find_animation(const Ref<Animation> &p_animation) const;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
Error add_animation(const StringName &p_name, const Ref<Animation> &p_animation);
|
|
|
|
void remove_animation(const StringName &p_name);
|
|
|
|
void rename_animation(const StringName &p_name, const StringName &p_new_name);
|
|
|
|
bool has_animation(const StringName &p_name) const;
|
|
|
|
Ref<Animation> get_animation(const StringName &p_name) const;
|
|
|
|
void get_animation_list(List<StringName> *p_animations) const;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void set_blend_time(const StringName &p_animation1, const StringName &p_animation2, float p_time);
|
|
|
|
float get_blend_time(const StringName &p_animation1, const StringName &p_animation2) const;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void animation_set_next(const StringName &p_animation, const StringName &p_next);
|
|
|
|
StringName animation_get_next(const StringName &p_animation) const;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void set_default_blend_time(float p_default);
|
|
|
|
float get_default_blend_time() const;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void play(const StringName &p_name = StringName(), float p_custom_blend = -1, float p_custom_scale = 1.0, bool p_from_end = false);
|
|
|
|
void play_backwards(const StringName &p_name = StringName(), float p_custom_blend = -1);
|
|
|
|
void queue(const StringName &p_name);
|
2020-02-18 05:06:54 +08:00
|
|
|
Vector<String> get_queue();
|
2014-02-10 09:10:30 +08:00
|
|
|
void clear_queue();
|
2017-03-05 23:44:50 +08:00
|
|
|
void stop(bool p_reset = true);
|
2014-02-10 09:10:30 +08:00
|
|
|
bool is_playing() const;
|
|
|
|
String get_current_animation() const;
|
2017-03-05 23:44:50 +08:00
|
|
|
void set_current_animation(const String &p_anim);
|
2018-01-14 18:28:57 +08:00
|
|
|
String get_assigned_animation() const;
|
|
|
|
void set_assigned_animation(const String &p_anim);
|
2014-02-10 09:10:30 +08:00
|
|
|
void stop_all();
|
|
|
|
void set_active(bool p_active);
|
|
|
|
bool is_active() const;
|
|
|
|
bool is_valid() const;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2017-01-14 06:36:04 +08:00
|
|
|
void set_speed_scale(float p_speed);
|
|
|
|
float get_speed_scale() const;
|
2018-03-02 02:52:00 +08:00
|
|
|
float get_playing_speed() const;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-08-12 03:10:05 +08:00
|
|
|
void set_autoplay(const String &p_name);
|
2014-02-10 09:10:30 +08:00
|
|
|
String get_autoplay() const;
|
|
|
|
|
2020-12-20 18:46:44 +08:00
|
|
|
void set_reset_on_save_enabled(bool p_enabled);
|
|
|
|
bool is_reset_on_save_enabled() const;
|
|
|
|
|
2021-02-19 02:52:29 +08:00
|
|
|
void set_process_callback(AnimationProcessCallback p_mode);
|
|
|
|
AnimationProcessCallback get_process_callback() const;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2018-12-09 02:56:20 +08:00
|
|
|
void set_method_call_mode(AnimationMethodCallMode p_mode);
|
|
|
|
AnimationMethodCallMode get_method_call_mode() const;
|
|
|
|
|
2021-05-21 14:42:37 +08:00
|
|
|
void seek(double p_time, bool p_update = false);
|
|
|
|
void seek_delta(double p_time, float p_delta);
|
2017-09-10 21:37:49 +08:00
|
|
|
float get_current_animation_position() const;
|
2014-02-10 09:10:30 +08:00
|
|
|
float get_current_animation_length() const;
|
|
|
|
|
2014-10-03 11:10:51 +08:00
|
|
|
void advance(float p_time);
|
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
void set_root(const NodePath &p_root);
|
2014-02-10 09:10:30 +08:00
|
|
|
NodePath get_root() const;
|
|
|
|
|
|
|
|
void clear_caches(); ///< must be called by hand if an animation was modified after added
|
2014-12-17 09:31:57 +08:00
|
|
|
|
2020-07-10 18:34:39 +08:00
|
|
|
void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const override;
|
2016-03-09 07:00:52 +08:00
|
|
|
|
2017-11-02 04:32:39 +08:00
|
|
|
#ifdef TOOLS_ENABLED
|
2021-02-10 04:41:48 +08:00
|
|
|
Ref<AnimatedValuesBackup> backup_animated_values(Node *p_root_override = nullptr);
|
2020-12-20 18:46:44 +08:00
|
|
|
Ref<AnimatedValuesBackup> apply_reset(bool p_user_initiated = false);
|
|
|
|
bool can_apply_reset() const;
|
2017-11-02 04:32:39 +08:00
|
|
|
#endif
|
|
|
|
|
2016-03-09 07:00:52 +08:00
|
|
|
AnimationPlayer();
|
2014-02-10 09:10:30 +08:00
|
|
|
~AnimationPlayer();
|
|
|
|
};
|
|
|
|
|
2021-02-19 02:52:29 +08:00
|
|
|
VARIANT_ENUM_CAST(AnimationPlayer::AnimationProcessCallback);
|
2018-12-09 02:56:20 +08:00
|
|
|
VARIANT_ENUM_CAST(AnimationPlayer::AnimationMethodCallMode);
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
#endif
|