2018-07-26 11:56:21 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-20 17:34:06 +02:00
<class name= "AnimationTree" inherits= "AnimationMixer" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2018-07-26 11:56:21 +02:00
<brief_description >
2023-04-28 17:16:44 +02:00
A node used for advanced animation transitions in an [AnimationPlayer].
2018-07-26 11:56:21 +02:00
</brief_description>
<description >
2023-04-28 17:16:44 +02:00
A node used for advanced animation transitions in an [AnimationPlayer].
2021-10-05 14:24:34 +02: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 11:56:21 +02:00
</description>
<tutorials >
2021-11-15 10:43:07 +01:00
<link title= "Using AnimationTree" > $DOCS_URL/tutorials/animation/animation_tree.html</link>
2020-10-01 10:34:47 +02:00
<link title= "Third Person Shooter Demo" > https://godotengine.org/asset-library/asset/678</link>
2019-04-19 11:03:46 +02:00
</tutorials>
2018-07-26 11:56:21 +02:00
<methods >
2024-02-12 14:55:02 +01:00
<method name= "get_process_callback" qualifiers= "const" deprecated= "Use [member AnimationMixer.callback_mode_process] instead." >
2023-07-20 17:34:06 +02:00
<return type= "int" enum= "AnimationTree.AnimationProcessCallback" />
2023-01-19 16:43:37 +01:00
<description >
</description>
</method>
2024-02-12 14:55:02 +01:00
<method name= "set_process_callback" deprecated= "Use [member AnimationMixer.callback_mode_process] instead." >
2021-07-30 15:28:05 +02:00
<return type= "void" />
2023-07-20 17:34:06 +02:00
<param index= "0" name= "mode" type= "int" enum= "AnimationTree.AnimationProcessCallback" />
2018-08-02 09:22:24 +02:00
<description >
2023-02-07 22:57:00 +01:00
</description>
</method>
2018-07-26 11:56:21 +02:00
</methods>
<members >
2022-04-20 12:36:54 +02: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 17:34:06 +02:00
The path to the [Node] used to evaluate the [AnimationNode] [Expression] if one is not explicitly specified internally.
2022-04-20 12:36:54 +02:00
</member>
2019-06-29 12:38:01 +02:00
<member name= "anim_player" type= "NodePath" setter= "set_animation_player" getter= "get_animation_player" default= "NodePath("")" >
2020-03-03 19:21:21 +01:00
The path to the [AnimationPlayer] used for animating.
2018-07-26 11:56:21 +02:00
</member>
2023-12-30 07:26:17 +01: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 17:34:06 +02: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 11:56:21 +02:00
</member>
</members>
2022-09-01 16:00:55 +02:00
<signals >
<signal name= "animation_player_changed" >
<description >
Emitted when the [member anim_player] is changed.
</description>
</signal>
</signals>
2018-07-26 11:56:21 +02:00
<constants >
2024-02-12 14:55:02 +01:00
<constant name= "ANIMATION_PROCESS_PHYSICS" value= "0" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]." >
2018-07-26 11:56:21 +02:00
</constant>
2024-02-12 14:55:02 +01:00
<constant name= "ANIMATION_PROCESS_IDLE" value= "1" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE]." >
2018-07-26 11:56:21 +02:00
</constant>
2024-02-12 14:55:02 +01:00
<constant name= "ANIMATION_PROCESS_MANUAL" value= "2" enum= "AnimationProcessCallback" deprecated= "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL]." >
2018-08-02 09:22:24 +02:00
</constant>
2018-07-26 11:56:21 +02:00
</constants>
</class>