AnimationNodeStateMachineTransition

    • advance_condition_changed ( )

    Emitted when advance_condition is 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.
    • advance_condition
    Default“”
    Setterset_advance_condition(value)
    Getterget_advance_condition()

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


    Defaultfalse
    Setterset_disabled(value)
    Getteris_disabled()

    Don’t use this transition during or auto_advance.


    • priority

    Default0
    Setterset_switch_mode(value)
    Getterget_switch_mode()

    The transition type.


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