AnimationClipOptions: {
    clipIn?: number;
    duration?: number;
    easeIn?: number;
    easeOut?: number;
    loop?: boolean;
    postExtrapolation?: ClipExtrapolation;
    preExtrapolation?: ClipExtrapolation;
    removeStartOffset?: boolean;
    reversed?: boolean;
    speed?: number;
    start?: number;
}

Options for an animation clip in the timeline builder

Type declaration

  • OptionalclipIn?: number

    Offset into the source animation clip in seconds (default: 0)

  • Optionalduration?: number

    Duration of the clip in seconds. Defaults to the animation clip duration.

  • OptionaleaseIn?: number

    Ease-in duration in seconds (default: 0)

  • OptionaleaseOut?: number

    Ease-out duration in seconds (default: 0)

  • Optionalloop?: boolean

    Whether the animation should loop within the clip (default: false)

  • OptionalpostExtrapolation?: ClipExtrapolation

    Post-extrapolation mode (default: None)

  • OptionalpreExtrapolation?: ClipExtrapolation

    Pre-extrapolation mode (default: None)

  • OptionalremoveStartOffset?: boolean

    Whether to remove the start offset of the animation (default: false)

  • Optionalreversed?: boolean

    Play the clip in reverse

  • Optionalspeed?: number

    Playback speed multiplier (default: 1)

  • Optionalstart?: number

    Start time of the clip in seconds. If omitted, placed after the previous clip on this track.