Struct AnimationNodeStateMachineTransition

struct AnimationNodeStateMachineTransition ;

Properties

NameTypeDescription
advanceCondition[get, set] StringTurn 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] boolTurn on the transition automatically when this state is reached. This works best with constant SWITCH_MODE_AT_END.
disabled[get, set] boolDon't use this transition during AnimationNodeStateMachinePlayback.travel or autoAdvance.
priority[get, set] longLower priority transitions are preferred when travelling through the tree via AnimationNodeStateMachinePlayback.travel or autoAdvance.
switchMode[get, set] AnimationNodeStateMachineTransition.SwitchModeThe transition type.
xfadeTime[get, set] doubleThe time to cross-fade between this state and the next.

Methods

NameDescription
getAdvanceCondition
getPriority
getSwitchMode
getXfadeTime
hasAutoAdvance
isDisabled
setAdvanceCondition
setAutoAdvance
setDisabled
setPriority
setSwitchMode
setXfadeTime

Enums

NameDescription
Constants
SwitchMode