Godot Engine 3.2 Alpha2
AnimationTree继承于Node
常用属性
| 类型 | 属性名 | 说明 |
|---|---|---|
| bool | active | |
| NodePath | anim_player | 每个AnimationTree都需要一个动画片段的容器即AnimationPlayer |
| AnimationProcessMode | process_mode | 处理模式: ANIMATION_PROCESS_PHYSICS物理同步/ANIMATION_PROCESS_IDLE帧同步/ANIMATION_PROCESS_MANUAL自定义 |
| NodePath | root_motion_track | |
| AnimationNode | tree_root |
常用方法
| 类型 | 方法名 | 说明 |
|---|---|---|
| void | advance ( float delta ) | |
| Transform | get_root_motion_transform ( ) const | |
| void | rename_parameter ( String old_name, String new_name ) |
