Describes the state of a LayerClip within an animation.

interface LayerClipState {
    loop: boolean;
    pauseTime?: number;
    rate: number;
    state: StreamState;
    stopped: boolean;
    t0: number;
    t1: null | number;
}

Properties

loop: boolean

Indicates whether the clip is set to loop.

pauseTime?: number

The time at which the clip was paused, if applicable.

rate: number

Playback rate of the clip.

state: StreamState

The current stream state of the clip.

stopped: boolean

Indicates whether the clip is stopped.

t0: number

Start time of the clip.

t1: null | number

End time of the clip, or null to indicate an indefinite duration.