diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-09 14:52:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 14:52:35 +0100 |
commit | b5813bddeb1cfc693f1e1333b3a41c51ab18ec7c (patch) | |
tree | 8b60024d993d541b7ad7562f4b32d7d3e088d937 /scene | |
parent | 783c560309483ef564837c1d30bc323f402ceafc (diff) | |
parent | 523e1741fca78ff1141d4b9f7ed793e2e7860f28 (diff) |
Merge pull request #14315 from willnationsdev/animationtreeplayer-docs
[DOCS] AnimationTreePlayer props/members/methods, EditorFileSystem methods
Diffstat (limited to 'scene')
-rw-r--r-- | scene/animation/animation_tree_player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index 23eccec82f..96b5ea51b0 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -1796,6 +1796,10 @@ void AnimationTreePlayer::_bind_methods() { ADD_GROUP("Playback", "playback_"); ADD_PROPERTY(PropertyInfo(Variant::INT, "playback_process_mode", PROPERTY_HINT_ENUM, "Physics,Idle"), "set_animation_process_mode", "get_animation_process_mode"); + ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "master_player"), "set_master_player", "get_master_player"); + ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "base_path"), "set_base_path", "get_base_path"); + ADD_PROPERTY(PropertyInfo(Variant::BOOL, "active"), "set_active", "is_active"); + BIND_ENUM_CONSTANT(NODE_OUTPUT); BIND_ENUM_CONSTANT(NODE_ANIMATION); BIND_ENUM_CONSTANT(NODE_ONESHOT); |