Files
godot-docs/classes/class_animationtree.rst
T

82 lines
2.9 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the AnimationTree.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_AnimationTree:
AnimationTree
=============
**Inherits:** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`advance<class_AnimationTree_advance>` **(** :ref:`float<class_float>` delta **)** |
+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Transform<class_transform>` | :ref:`get_root_motion_transform<class_AnimationTree_get_root_motion_transform>` **(** **)** const |
+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`rename_parameter<class_AnimationTree_rename_parameter>` **(** :ref:`String<class_string>` old_name, :ref:`String<class_string>` new_name **)** |
+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
Member Variables
----------------
.. _class_AnimationTree_active:
- :ref:`bool<class_bool>` **active**
.. _class_AnimationTree_anim_player:
- :ref:`NodePath<class_nodepath>` **anim_player**
.. _class_AnimationTree_process_mode:
- :ref:`AnimationProcessMode<enum_animationtree_animationprocessmode>` **process_mode**
.. _class_AnimationTree_root_motion_track:
- :ref:`NodePath<class_nodepath>` **root_motion_track**
.. _class_AnimationTree_tree_root:
- :ref:`AnimationNode<class_animationnode>` **tree_root**
Enums
-----
.. _enum_AnimationTree_AnimationProcessMode:
enum **AnimationProcessMode**
- **ANIMATION_PROCESS_PHYSICS** = **0**
- **ANIMATION_PROCESS_IDLE** = **1**
- **ANIMATION_PROCESS_MANUAL** = **2**
Member Function Description
---------------------------
.. _class_AnimationTree_advance:
- void **advance** **(** :ref:`float<class_float>` delta **)**
.. _class_AnimationTree_get_root_motion_transform:
- :ref:`Transform<class_transform>` **get_root_motion_transform** **(** **)** const
.. _class_AnimationTree_rename_parameter:
- void **rename_parameter** **(** :ref:`String<class_string>` old_name, :ref:`String<class_string>` new_name **)**