Struct AnimationNodeStateMachineTransition
struct AnimationNodeStateMachineTransition
;
Properties
| Name | Type | Description |
advanceCondition[get, set]
|
String | Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the AnimationTree that can be controlled from code (see url=https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#controlling-from-code/url). For example, if AnimationTree.treeRoot is an AnimationNodeStateMachine and advanceCondition is set to "idle":
|
autoAdvance[get, set]
|
bool | Turn on the transition automatically when this state is reached. This works best with constant SWITCH_MODE_AT_END.
|
disabled[get, set]
|
bool | Don't use this transition during AnimationNodeStateMachinePlayback.travel or autoAdvance.
|
priority[get, set]
|
long | Lower priority transitions are preferred when travelling through the tree via AnimationNodeStateMachinePlayback.travel or autoAdvance.
|
switchMode[get, set]
|
AnimationNodeStateMachineTransition.SwitchMode | The transition type.
|
xfadeTime[get, set]
|
double | The time to cross-fade between this state and the next.
|