2023-01-10 14:26:54 +00:00
|
|
|
/**************************************************************************/
|
|
|
|
/* animation_player.h */
|
|
|
|
/**************************************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
|
|
|
/* https://godotengine.org */
|
|
|
|
/**************************************************************************/
|
|
|
|
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
|
|
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
|
|
/* */
|
|
|
|
/* 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-04 23:50:27 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
#ifndef ANIMATION_PLAYER_H
|
|
|
|
#define ANIMATION_PLAYER_H
|
|
|
|
|
|
|
|
#include "scene/2d/node_2d.h"
|
2017-03-05 15:44:50 +00:00
|
|
|
#include "scene/3d/skeleton.h"
|
|
|
|
#include "scene/3d/spatial.h"
|
|
|
|
#include "scene/resources/animation.h"
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-11-01 20:32:39 +00:00
|
|
|
#ifdef TOOLS_ENABLED
|
2020-12-20 10:46:44 +00:00
|
|
|
class AnimatedValuesBackup : public Reference {
|
|
|
|
GDCLASS(AnimatedValuesBackup, Reference);
|
|
|
|
|
2017-11-01 20:32:39 +00:00
|
|
|
struct Entry {
|
|
|
|
Object *object;
|
|
|
|
Vector<StringName> subpath; // Unused if bone
|
|
|
|
int bone_idx; // -1 if not a bone
|
|
|
|
Variant value;
|
|
|
|
};
|
|
|
|
Vector<Entry> entries;
|
|
|
|
|
|
|
|
friend class AnimationPlayer;
|
2017-10-30 18:43:19 +00:00
|
|
|
|
2020-12-20 10:46:44 +00:00
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
2017-10-30 18:43:19 +00:00
|
|
|
public:
|
|
|
|
void update_skeletons();
|
2020-12-20 10:46:44 +00:00
|
|
|
void restore() const;
|
2017-11-01 20:32:39 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
class AnimationPlayer : public Node {
|
2017-03-05 15:44:50 +00:00
|
|
|
GDCLASS(AnimationPlayer, Node);
|
2014-02-10 01:10:30 +00:00
|
|
|
OBJ_CATEGORY("Animation Nodes");
|
|
|
|
|
|
|
|
public:
|
|
|
|
enum AnimationProcessMode {
|
2017-09-30 14:19:07 +00:00
|
|
|
ANIMATION_PROCESS_PHYSICS,
|
2014-02-10 01:10:30 +00:00
|
|
|
ANIMATION_PROCESS_IDLE,
|
2018-08-02 07:22:24 +00:00
|
|
|
ANIMATION_PROCESS_MANUAL,
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 18:56:20 +00:00
|
|
|
enum AnimationMethodCallMode {
|
|
|
|
ANIMATION_METHOD_CALL_DEFERRED,
|
|
|
|
ANIMATION_METHOD_CALL_IMMEDIATE,
|
|
|
|
};
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
private:
|
|
|
|
enum {
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
NODE_CACHE_UPDATE_MAX = 1024,
|
|
|
|
BLEND_FROM_MAX = 3
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enum SpecialProperty {
|
|
|
|
SP_NONE,
|
|
|
|
SP_NODE2D_POS,
|
|
|
|
SP_NODE2D_ROT,
|
|
|
|
SP_NODE2D_SCALE,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct TrackNodeCache {
|
2015-12-05 17:18:22 +00:00
|
|
|
NodePath path;
|
2014-02-10 01:10:30 +00:00
|
|
|
uint32_t id;
|
|
|
|
RES resource;
|
|
|
|
Node *node;
|
2017-03-05 15:44:50 +00:00
|
|
|
Spatial *spatial;
|
|
|
|
Node2D *node_2d;
|
2014-02-10 01:10:30 +00:00
|
|
|
Skeleton *skeleton;
|
|
|
|
int bone_idx;
|
|
|
|
// accumulated transforms
|
|
|
|
|
|
|
|
Vector3 loc_accum;
|
|
|
|
Quat rot_accum;
|
|
|
|
Vector3 scale_accum;
|
|
|
|
uint64_t accum_pass;
|
|
|
|
|
2018-06-07 15:46:14 +00:00
|
|
|
bool audio_playing;
|
|
|
|
float audio_start;
|
|
|
|
float audio_len;
|
|
|
|
|
|
|
|
bool animation_playing;
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
struct PropertyAnim {
|
2015-12-05 17:18:22 +00:00
|
|
|
TrackNodeCache *owner;
|
2014-02-10 01:10:30 +00:00
|
|
|
SpecialProperty special; //small optimization
|
2017-05-30 20:20:15 +00:00
|
|
|
Vector<StringName> subpath;
|
2014-02-10 01:10:30 +00:00
|
|
|
Object *object;
|
|
|
|
Variant value_accum;
|
|
|
|
uint64_t accum_pass;
|
2018-06-07 15:46:14 +00:00
|
|
|
Variant capture;
|
2019-01-30 01:12:41 +00:00
|
|
|
|
|
|
|
PropertyAnim() :
|
2021-05-04 14:00:45 +00:00
|
|
|
owner(nullptr),
|
2019-01-30 01:12:41 +00:00
|
|
|
special(SP_NONE),
|
2021-05-04 14:00:45 +00:00
|
|
|
object(nullptr),
|
2019-01-30 01:12:41 +00:00
|
|
|
accum_pass(0) {}
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
Map<StringName, PropertyAnim> property_anim;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2018-06-07 15:46:14 +00:00
|
|
|
struct BezierAnim {
|
|
|
|
Vector<StringName> bezier_property;
|
|
|
|
TrackNodeCache *owner;
|
|
|
|
float bezier_accum;
|
|
|
|
Object *object;
|
|
|
|
uint64_t accum_pass;
|
2019-01-30 01:12:41 +00:00
|
|
|
|
|
|
|
BezierAnim() :
|
2021-05-04 14:00:45 +00:00
|
|
|
owner(nullptr),
|
2019-01-30 01:12:41 +00:00
|
|
|
bezier_accum(0.0),
|
2021-05-04 14:00:45 +00:00
|
|
|
object(nullptr),
|
2019-01-30 01:12:41 +00:00
|
|
|
accum_pass(0) {}
|
2018-06-07 15:46:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Map<StringName, BezierAnim> bezier_anim;
|
|
|
|
|
2019-01-30 01:12:41 +00:00
|
|
|
TrackNodeCache() :
|
|
|
|
id(0),
|
2021-05-04 14:00:45 +00:00
|
|
|
node(nullptr),
|
|
|
|
spatial(nullptr),
|
|
|
|
node_2d(nullptr),
|
|
|
|
skeleton(nullptr),
|
2019-01-30 01:12:41 +00:00
|
|
|
bone_idx(-1),
|
|
|
|
accum_pass(0),
|
|
|
|
audio_playing(false),
|
|
|
|
audio_start(0.0),
|
|
|
|
audio_len(0.0),
|
|
|
|
animation_playing(false) {}
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct TrackNodeCacheKey {
|
|
|
|
uint32_t id;
|
|
|
|
int bone_idx;
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
inline bool operator<(const TrackNodeCacheKey &p_right) const {
|
2021-05-05 10:44:11 +00:00
|
|
|
if (id < p_right.id) {
|
2014-02-10 01:10:30 +00:00
|
|
|
return true;
|
2021-05-05 10:44:11 +00:00
|
|
|
} else if (id > p_right.id) {
|
2014-02-10 01:10:30 +00:00
|
|
|
return false;
|
2021-05-05 10:44:11 +00:00
|
|
|
} else {
|
2017-03-05 15:44:50 +00:00
|
|
|
return bone_idx < p_right.bone_idx;
|
2021-05-05 10:44:11 +00:00
|
|
|
}
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
Map<TrackNodeCacheKey, TrackNodeCache> node_cache_map;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
TrackNodeCache *cache_update[NODE_CACHE_UPDATE_MAX];
|
2014-02-10 01:10:30 +00:00
|
|
|
int cache_update_size;
|
2017-03-05 15:44:50 +00:00
|
|
|
TrackNodeCache::PropertyAnim *cache_update_prop[NODE_CACHE_UPDATE_MAX];
|
2014-02-10 01:10:30 +00:00
|
|
|
int cache_update_prop_size;
|
2018-06-07 15:46:14 +00:00
|
|
|
TrackNodeCache::BezierAnim *cache_update_bezier[NODE_CACHE_UPDATE_MAX];
|
|
|
|
int cache_update_bezier_size;
|
|
|
|
Set<TrackNodeCache *> playing_caches;
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
uint64_t accum_pass;
|
2017-03-05 15:44:50 +00:00
|
|
|
float speed_scale;
|
|
|
|
float default_blend_time;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
struct AnimationData {
|
|
|
|
String name;
|
|
|
|
StringName next;
|
2017-03-05 15:44:50 +00:00
|
|
|
Vector<TrackNodeCache *> node_cache;
|
2014-02-10 01:10:30 +00:00
|
|
|
Ref<Animation> animation;
|
|
|
|
};
|
|
|
|
|
|
|
|
Map<StringName, AnimationData> animation_set;
|
|
|
|
struct BlendKey {
|
|
|
|
StringName from;
|
|
|
|
StringName to;
|
2017-03-05 15:44:50 +00:00
|
|
|
bool operator<(const BlendKey &bk) const { return from == bk.from ? String(to) < String(bk.to) : String(from) < String(bk.from); }
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
Map<BlendKey, float> blend_times;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
struct PlaybackData {
|
2017-03-05 15:44:50 +00:00
|
|
|
AnimationData *from;
|
2014-02-10 01:10:30 +00:00
|
|
|
float pos;
|
|
|
|
float speed_scale;
|
|
|
|
|
|
|
|
PlaybackData() {
|
2017-03-05 15:44:50 +00:00
|
|
|
pos = 0;
|
|
|
|
speed_scale = 1.0;
|
2021-05-04 14:00:45 +00:00
|
|
|
from = nullptr;
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|
|
|
|
};
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
struct Blend {
|
|
|
|
PlaybackData data;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
float blend_time;
|
|
|
|
float blend_left;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
Blend() {
|
2017-03-05 15:44:50 +00:00
|
|
|
blend_left = 0;
|
|
|
|
blend_time = 0;
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|
|
|
|
};
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
struct Playback {
|
2016-03-08 23:00:52 +00:00
|
|
|
List<Blend> blend;
|
2014-02-10 01:10:30 +00:00
|
|
|
PlaybackData current;
|
|
|
|
StringName assigned;
|
2018-06-07 15:46:14 +00:00
|
|
|
bool seeked;
|
|
|
|
bool started;
|
2014-02-10 01:10:30 +00:00
|
|
|
} playback;
|
|
|
|
|
|
|
|
List<StringName> queued;
|
|
|
|
|
2017-12-28 20:48:09 +00:00
|
|
|
bool end_reached;
|
2014-02-10 01:10:30 +00:00
|
|
|
bool end_notify;
|
|
|
|
|
|
|
|
String autoplay;
|
2020-12-20 10:46:44 +00:00
|
|
|
bool reset_on_save;
|
2014-02-10 01:10:30 +00:00
|
|
|
AnimationProcessMode animation_process_mode;
|
2018-12-08 18:56:20 +00:00
|
|
|
AnimationMethodCallMode method_call_mode;
|
2014-02-10 01:10:30 +00:00
|
|
|
bool processing;
|
|
|
|
bool active;
|
|
|
|
|
|
|
|
NodePath root;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2018-06-07 15:46:14 +00:00
|
|
|
void _animation_process_animation(AnimationData *p_anim, float p_time, float p_delta, float p_interp, bool p_is_current = true, bool p_seeked = false, bool p_started = false);
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2020-12-20 10:46:44 +00:00
|
|
|
void _ensure_node_caches(AnimationData *p_anim, Node *p_root_override = NULL);
|
2018-06-07 15:46:14 +00:00
|
|
|
void _animation_process_data(PlaybackData &cd, float p_delta, float p_blend, bool p_seeked, bool p_started);
|
|
|
|
void _animation_process2(float p_delta, bool p_started);
|
2014-02-10 01:10:30 +00:00
|
|
|
void _animation_update_transforms();
|
|
|
|
void _animation_process(float p_delta);
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
void _node_removed(Node *p_node);
|
2018-06-07 15:46:14 +00:00
|
|
|
void _stop_playing_caches();
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
// bind helpers
|
2017-01-07 21:25:37 +00:00
|
|
|
PoolVector<String> _get_animation_list() const {
|
2014-02-10 01:10:30 +00:00
|
|
|
List<StringName> animations;
|
|
|
|
get_animation_list(&animations);
|
2017-01-07 21:25:37 +00:00
|
|
|
PoolVector<String> ret;
|
2017-03-05 15:44:50 +00:00
|
|
|
while (animations.size()) {
|
|
|
|
ret.push_back(animations.front()->get());
|
2014-02-10 01:10:30 +00:00
|
|
|
animations.pop_front();
|
|
|
|
}
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
void _animation_changed();
|
2017-03-05 15:44:50 +00:00
|
|
|
void _ref_anim(const Ref<Animation> &p_anim);
|
|
|
|
void _unref_anim(const Ref<Animation> &p_anim);
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
void _set_process(bool p_process, bool p_force = false);
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
bool playing;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
protected:
|
2017-03-05 15:44:50 +00:00
|
|
|
bool _set(const StringName &p_name, const Variant &p_value);
|
|
|
|
bool _get(const StringName &p_name, Variant &r_ret) const;
|
2018-01-11 22:35:12 +00:00
|
|
|
virtual void _validate_property(PropertyInfo &property) const;
|
2017-03-05 15:44:50 +00:00
|
|
|
void _get_property_list(List<PropertyInfo> *p_list) const;
|
2014-02-10 01:10:30 +00:00
|
|
|
void _notification(int p_what);
|
2016-03-08 23:00:52 +00:00
|
|
|
|
|
|
|
static void _bind_methods();
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
public:
|
2017-03-05 15:44:50 +00:00
|
|
|
StringName find_animation(const Ref<Animation> &p_animation) const;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00: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-08 23:00:52 +00:00
|
|
|
|
2017-03-05 15:44:50 +00: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 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00: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 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
void set_default_blend_time(float p_default);
|
|
|
|
float get_default_blend_time() const;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2017-03-05 15:44:50 +00: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);
|
2018-11-28 00:43:34 +00:00
|
|
|
PoolVector<String> get_queue();
|
2014-02-10 01:10:30 +00:00
|
|
|
void clear_queue();
|
2017-03-05 15:44:50 +00:00
|
|
|
void stop(bool p_reset = true);
|
2014-02-10 01:10:30 +00:00
|
|
|
bool is_playing() const;
|
|
|
|
String get_current_animation() const;
|
2017-03-05 15:44:50 +00:00
|
|
|
void set_current_animation(const String &p_anim);
|
2018-01-14 10:28:57 +00:00
|
|
|
String get_assigned_animation() const;
|
|
|
|
void set_assigned_animation(const String &p_anim);
|
2014-02-10 01:10:30 +00:00
|
|
|
void set_active(bool p_active);
|
|
|
|
bool is_active() const;
|
|
|
|
bool is_valid() const;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2017-01-13 22:36:04 +00:00
|
|
|
void set_speed_scale(float p_speed);
|
|
|
|
float get_speed_scale() const;
|
2018-03-01 18:52:00 +00:00
|
|
|
float get_playing_speed() const;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-08-11 19:10:05 +00:00
|
|
|
void set_autoplay(const String &p_name);
|
2014-02-10 01:10:30 +00:00
|
|
|
String get_autoplay() const;
|
|
|
|
|
2020-12-20 10:46:44 +00:00
|
|
|
void set_reset_on_save_enabled(bool p_enabled);
|
|
|
|
bool is_reset_on_save_enabled() const;
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
void set_animation_process_mode(AnimationProcessMode p_mode);
|
|
|
|
AnimationProcessMode get_animation_process_mode() const;
|
|
|
|
|
2018-12-08 18:56:20 +00:00
|
|
|
void set_method_call_mode(AnimationMethodCallMode p_mode);
|
|
|
|
AnimationMethodCallMode get_method_call_mode() const;
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
void seek(float p_time, bool p_update = false);
|
|
|
|
void seek_delta(float p_time, float p_delta);
|
2017-09-10 13:37:49 +00:00
|
|
|
float get_current_animation_position() const;
|
2014-02-10 01:10:30 +00:00
|
|
|
float get_current_animation_length() const;
|
|
|
|
|
2014-10-03 03:10:51 +00:00
|
|
|
void advance(float p_time);
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
void set_root(const NodePath &p_root);
|
2014-02-10 01:10:30 +00:00
|
|
|
NodePath get_root() const;
|
|
|
|
|
|
|
|
void clear_caches(); ///< must be called by hand if an animation was modified after added
|
2014-12-17 01:31:57 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const;
|
2016-03-08 23:00:52 +00:00
|
|
|
|
2017-11-01 20:32:39 +00:00
|
|
|
#ifdef TOOLS_ENABLED
|
2020-12-20 10:46:44 +00:00
|
|
|
Ref<AnimatedValuesBackup> backup_animated_values(Node *p_root_override = NULL);
|
|
|
|
Ref<AnimatedValuesBackup> apply_reset(bool p_user_initiated = false);
|
|
|
|
bool can_apply_reset() const;
|
2017-11-01 20:32:39 +00:00
|
|
|
#endif
|
|
|
|
|
2016-03-08 23:00:52 +00:00
|
|
|
AnimationPlayer();
|
2014-02-10 01:10:30 +00:00
|
|
|
~AnimationPlayer();
|
|
|
|
};
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
VARIANT_ENUM_CAST(AnimationPlayer::AnimationProcessMode);
|
2018-12-08 18:56:20 +00:00
|
|
|
VARIANT_ENUM_CAST(AnimationPlayer::AnimationMethodCallMode);
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2022-07-25 10:33:41 +00:00
|
|
|
#endif // ANIMATION_PLAYER_H
|