2018-07-26 09:56:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-20 15:34:06 +00:00
<class name= "AnimationTree" inherits= "AnimationMixer" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2018-07-26 09:56:21 +00:00
<brief_description >
2023-04-28 15:16:44 +00:00
A node used for advanced animation transitions in an [AnimationPlayer].
2018-07-26 09:56:21 +00:00
</brief_description>
<description >
2023-04-28 15:16:44 +00:00
A node used for advanced animation transitions in an [AnimationPlayer].
2021-10-05 12:24:34 +00:00
[b]Note:[/b] When linked with an [AnimationPlayer], several properties and methods of the corresponding [AnimationPlayer] will not function as expected. Playback and transitions should be handled using only the [AnimationTree] and its constituent [AnimationNode](s). The [AnimationPlayer] node should be used solely for adding, deleting, and editing animations.
2018-07-26 09:56:21 +00:00
</description>
<tutorials >
2021-11-15 09:43:07 +00:00
<link title= "Using AnimationTree" > $DOCS_URL/tutorials/animation/animation_tree.html</link>
2020-10-01 08:34:47 +00:00
<link title= "Third Person Shooter Demo" > https://godotengine.org/asset-library/asset/678</link>
2019-04-19 09:03:46 +00:00
</tutorials>
2018-07-26 09:56:21 +00:00
<methods >
2024-02-12 13:55:02 +00:00
<method name= "get_process_callback" qualifiers= "const" deprecated= "Use [member AnimationMixer.callback_mode_process] instead." >
2023-07-20 15:34:06 +00:00
<return type= "int" enum= "AnimationTree.AnimationProcessCallback" />
2023-01-19 15:43:37 +00:00
<description >
</description>
</method>
2024-02-12 13:55:02 +00:00
<method name= "set_process_callback" deprecated= "Use [member AnimationMixer.callback_mode_process] instead." >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2023-07-20 15:34:06 +00:00
<param index= "0" name= "mode" type= "int" enum= "AnimationTree.AnimationProcessCallback" />
2018-08-02 07:22:24 +00:00
<description >
2023-02-07 21:57:00 +00:00
</description>
</method>
2018-07-26 09:56:21 +00:00
</methods>
<members >
2022-04-20 10:36:54 +00:00
<member name= "advance_expression_base_node" type= "NodePath" setter= "set_advance_expression_base_node" getter= "get_advance_expression_base_node" default= "NodePath(".")" >
2023-07-20 15:34:06 +00:00
The path to the [Node] used to evaluate the [AnimationNode] [Expression] if one is not explicitly specified internally.
2022-04-20 10:36:54 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "anim_player" type= "NodePath" setter= "set_animation_player" getter= "get_animation_player" default= "NodePath("")" >
2020-03-03 18:21:21 +00:00
The path to the [AnimationPlayer] used for animating.
2018-07-26 09:56:21 +00:00
</member>
2023-12-30 06:26:17 +00:00
<member name= "callback_mode_discrete" type= "int" setter= "set_callback_mode_discrete" getter= "get_callback_mode_discrete" overrides= "AnimationMixer" enum= "AnimationMixer.AnimationCallbackModeDiscrete" default= "2" />
2023-07-20 15:34:06 +00:00
<member name= "deterministic" type= "bool" setter= "set_deterministic" getter= "is_deterministic" overrides= "AnimationMixer" default= "true" />
<member name= "tree_root" type= "AnimationRootNode" setter= "set_tree_root" getter= "get_tree_root" >
The root animation node of this [AnimationTree]. See [AnimationRootNode].
2018-07-26 09:56:21 +00:00
</member>
</members>
2022-09-01 14:00:55 +00:00
<signals >
<signal name= "animation_player_changed" >
<description >
Emitted when the [member anim_player] is changed.
</description>
</signal>
</signals>
2018-07-26 09:56:21 +00:00
<constants >
2024-02-12 13:55:02 +00:00
<constant name= "ANIMATION_PROCESS_PHYSICS" value= "0" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]." >
2018-07-26 09:56:21 +00:00
</constant>
2024-02-12 13:55:02 +00:00
<constant name= "ANIMATION_PROCESS_IDLE" value= "1" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE]." >
2018-07-26 09:56:21 +00:00
</constant>
2024-02-12 13:55:02 +00:00
<constant name= "ANIMATION_PROCESS_MANUAL" value= "2" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL]." >
2018-08-02 07:22:24 +00:00
</constant>
2018-07-26 09:56:21 +00:00
</constants>
</class>