diff options
author | Silc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com> | 2024-05-02 11:23:11 +0900 |
---|---|---|
committer | Silc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com> | 2024-05-02 19:57:36 +0900 |
commit | 36abb55dd232fca5d1d0629659ab77f298451982 (patch) | |
tree | d5e93d2cbfc8fd4970c6de14f6793682769d1520 /scene/resources/animation.h | |
parent | a0b0b19043ca670940049e88e73a965aa9c8d721 (diff) | |
download | redot-engine-36abb55dd232fca5d1d0629659ab77f298451982.tar.gz |
Add auto_capture option to AnimationPlayer
Diffstat (limited to 'scene/resources/animation.h')
-rw-r--r-- | scene/resources/animation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/resources/animation.h b/scene/resources/animation.h index 6005172c11..cc7bbae8a3 100644 --- a/scene/resources/animation.h +++ b/scene/resources/animation.h @@ -268,6 +268,8 @@ private: double length = 1.0; real_t step = 1.0 / 30; LoopMode loop_mode = LOOP_NONE; + bool capture_included = false; + void _check_capture_included(); void _track_update_hash(int p_track); @@ -392,6 +394,9 @@ public: int add_track(TrackType p_type, int p_at_pos = -1); void remove_track(int p_track); + void set_capture_included(bool p_capture_included); + bool is_capture_included() const; + int get_track_count() const; TrackType track_get_type(int p_track) const; |