AnimationNodeStateMachineTransition

    Category: Core

    • advance_condition_changed ( )

    enum SwitchMode:

    • SWITCH_MODE_IMMEDIATE = 0 — Switch to the next state immediately. The current state will end and blend into the beginning of the new one.
    • SWITCH_MODE_SYNC = 1 — Switch to the next state immediately, but will seek the new state to the playback position of the old state.
    • SWITCH_MODE_AT_END = 2 — Wait for the current state playback to end, then switch to the beginning of the next state animation.
    Setterset_advance_condition(value)
    Getterget_advance_condition()

    • auto_advance

    Turn on the transition automatically when this state is reached. This works best with SWITCH_MODE_AT_END.


    • disabled
    Setterset_disabled(value)
    Getteris_disabled()

    Don’t use this transition during AnimationNodeStateMachinePlayback.travel or .



    • switch_mode
    Setterset_switch_mode(value)
    Getterget_switch_mode()

    The transition type.


    The time to cross-fade between this state and the next.