webchalk-animate - v0.31.0
    Preparing search index...

    An object containing timing-related details about the sequence. Returned by AnimSequence.getTiming.

    interface AnimSequenceTiming {
        autoplays: boolean;
        autoplaysNextSequence: boolean;
        compoundedPlaybackRate: number;
        playbackRate: number;
    }
    Index

    Properties

    autoplays: boolean

    If true, this sequence will automatically play after the previous sequence in the same timeline finishes.

    • If this sequence is not part of a timeline or is at the beginning of a timeline, this option has no effect.
    false
    
    autoplaysNextSequence: boolean

    If true, the next sequence in the same timeline will automatically play after this sequence finishes.

    • If this sequence is not part of a timeline or is at the end of a timeline, this option has no effect.
    false
    
    compoundedPlaybackRate: number

    The actual playback rate of the sequence after the playback rates of any parents are taken into account.

    • Example: If the playbackRate of the parent timeline is 4 and the playbackRate of this sequence is 5, the compoundedPlaybackRate will be 4 * 5 = 20.
    playbackRate: number

    The base playback rate of the sequence (ignoring any multipliers from a parent timeline).

    • Example: A value of 1 means 100% (the typical playback rate), and 0.5 means 50% speed.
    • Example: If the playbackRate of the parent timeline is 4 and the playbackRate of this sequence is 5, the playbackRate property is still 5, but the sequence would run at 4 * 5 = 20x speed.