diff options
Diffstat (limited to 'scene/animation/animation_tree.h')
-rw-r--r-- | scene/animation/animation_tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h index 422bd0abb1..93ca20f8f5 100644 --- a/scene/animation/animation_tree.h +++ b/scene/animation/animation_tree.h @@ -101,6 +101,8 @@ public: HashMap<NodePath, bool> filter; bool filter_enabled = false; + bool closable = false; + Array _get_filters() const; void _set_filters(const Array &p_filters); friend class AnimationNodeBlendTree; @@ -160,6 +162,9 @@ public: void set_filter_enabled(bool p_enable); bool is_filter_enabled() const; + void set_closable(bool p_closable); + bool is_closable() const; + virtual bool has_filter() const; virtual Ref<AnimationNode> get_child_by_name(const StringName &p_name) const; |