TransitionOptions: {
    duration?: number;
    exitTime?: number;
    hasFixedDuration?: boolean;
    offset?: number;
}

Configuration for a transition in the builder

Type declaration

  • Optionalduration?: number

    Duration of the crossfade in seconds (default: 0)

  • OptionalexitTime?: number

    Normalized exit time 0-1. When set, the transition waits until the source animation reaches this point before transitioning.

  • OptionalhasFixedDuration?: boolean

    Whether duration is in seconds (true) or normalized (false) (default: false)

  • Optionaloffset?: number

    Normalized offset into the destination state's animation (default: 0)