diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-11-28 09:56:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 09:56:36 +0100 |
commit | 0307f2885c55bb642fef90658e1c40cbdbb7f0f4 (patch) | |
tree | 62a33ab9dcab4d8c82dd0d8ddfb843c2d0f1873a /scene/animation/animation_player.h | |
parent | af8d941c55bb97c7651e11e877e30ab9cef38673 (diff) | |
parent | 0cc8a3b9a68c1b9644b11cecdeff0807b6eaa3f9 (diff) |
Merge pull request #24024 from DualMatrix/queue
Made it possible to read AnimationPlayer queue from GDscript
Diffstat (limited to 'scene/animation/animation_player.h')
-rw-r--r-- | scene/animation/animation_player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_player.h b/scene/animation/animation_player.h index f50b2454ec..b3bf8b1e22 100644 --- a/scene/animation/animation_player.h +++ b/scene/animation/animation_player.h @@ -312,6 +312,7 @@ public: 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); + PoolVector<String> get_queue(); void clear_queue(); void stop(bool p_reset = true); bool is_playing() const; |