:github_url: hide .. 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//doc_classes. .. _class_AnimationTree: AnimationTree ============= **Inherits:** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +----------------------------------------------------------------------+--------------------------------------------------------------------------+ | :ref:`bool` | :ref:`active` | +----------------------------------------------------------------------+--------------------------------------------------------------------------+ | :ref:`NodePath` | :ref:`anim_player` | +----------------------------------------------------------------------+--------------------------------------------------------------------------+ | :ref:`AnimationProcessMode` | :ref:`process_mode` | +----------------------------------------------------------------------+--------------------------------------------------------------------------+ | :ref:`NodePath` | :ref:`root_motion_track` | +----------------------------------------------------------------------+--------------------------------------------------------------------------+ | :ref:`AnimationNode` | :ref:`tree_root` | +----------------------------------------------------------------------+--------------------------------------------------------------------------+ Methods ------- +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`advance` **(** :ref:`float` delta **)** | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform` | :ref:`get_root_motion_transform` **(** **)** const | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`rename_parameter` **(** :ref:`String` old_name, :ref:`String` new_name **)** | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ Enumerations ------------ .. _enum_AnimationTree_AnimationProcessMode: .. _class_AnimationTree_constant_ANIMATION_PROCESS_PHYSICS: .. _class_AnimationTree_constant_ANIMATION_PROCESS_IDLE: .. _class_AnimationTree_constant_ANIMATION_PROCESS_MANUAL: enum **AnimationProcessMode**: - **ANIMATION_PROCESS_PHYSICS** = **0** - **ANIMATION_PROCESS_IDLE** = **1** - **ANIMATION_PROCESS_MANUAL** = **2** Tutorials --------- - :doc:`../tutorials/animation/animation_tree` - `https://github.com/godotengine/tps-demo `_ Property Descriptions --------------------- .. _class_AnimationTree_property_active: - :ref:`bool` **active** +----------+-------------------+ | *Setter* | set_active(value) | +----------+-------------------+ | *Getter* | is_active() | +----------+-------------------+ ---- .. _class_AnimationTree_property_anim_player: - :ref:`NodePath` **anim_player** +----------+-----------------------------+ | *Setter* | set_animation_player(value) | +----------+-----------------------------+ | *Getter* | get_animation_player() | +----------+-----------------------------+ ---- .. _class_AnimationTree_property_process_mode: - :ref:`AnimationProcessMode` **process_mode** +----------+-------------------------+ | *Setter* | set_process_mode(value) | +----------+-------------------------+ | *Getter* | get_process_mode() | +----------+-------------------------+ ---- .. _class_AnimationTree_property_root_motion_track: - :ref:`NodePath` **root_motion_track** +----------+------------------------------+ | *Setter* | set_root_motion_track(value) | +----------+------------------------------+ | *Getter* | get_root_motion_track() | +----------+------------------------------+ ---- .. _class_AnimationTree_property_tree_root: - :ref:`AnimationNode` **tree_root** +----------+----------------------+ | *Setter* | set_tree_root(value) | +----------+----------------------+ | *Getter* | get_tree_root() | +----------+----------------------+ Method Descriptions ------------------- .. _class_AnimationTree_method_advance: - void **advance** **(** :ref:`float` delta **)** ---- .. _class_AnimationTree_method_get_root_motion_transform: - :ref:`Transform` **get_root_motion_transform** **(** **)** const ---- .. _class_AnimationTree_method_rename_parameter: - void **rename_parameter** **(** :ref:`String` old_name, :ref:`String` new_name **)**