AnimationTree¶
A node to be used for advanced animation transitions in an AnimationPlayer.
Properties¶
bool | active | false |
NodePath | anim_player | NodePath("") |
AnimationProcessMode | process_mode | 1 |
NodePath | root_motion_track | NodePath("") |
AnimationNode | tree_root |
Methods¶
void | advance ( float delta ) |
Transform | get_root_motion_transform ( ) const |
void | rename_parameter ( String old_name, String new_name ) |
Enumerations¶
- ANIMATION_PROCESS_PHYSICS = 0 — The animations will progress during the physics frame (i.e. Node._physics_process).
- ANIMATION_PROCESS_IDLE = 1 — The animations will progress during the idle frame (i.e. Node._process).
- ANIMATION_PROCESS_MANUAL = 2 — The animations will only progress manually (see advance).
Property Descriptions¶
- bool active
Default | false |
Setter | set_active(value) |
Getter | is_active() |
If true
, the AnimationTree
will be processing.
- NodePath anim_player
Default | NodePath("") |
Setter | set_animation_player(value) |
Getter | get_animation_player() |
The path to the AnimationPlayer used for animating.
- AnimationProcessMode process_mode
Default | 1 |
Setter | set_process_mode(value) |
Getter | get_process_mode() |
The process mode of this AnimationTree
. See AnimationProcessMode for available modes.
- NodePath root_motion_track
Default | NodePath("") |
Setter | set_root_motion_track(value) |
Getter | get_root_motion_track() |
- AnimationNode tree_root
Setter | set_tree_root(value) |
Getter | get_tree_root() |
The root animation node of this AnimationTree
. See AnimationNode.