XRPlaybackState#
Type alias XRPlaybackState
XRPlayback State: {
boomerang: boolean;
bufferHeadFrame: number;
currentFrame: number;
currentPlaybackSpeed: number;
isPlaying: boolean;
}
boomerang: boolean;
bufferHeadFrame: number;
currentFrame: number;
currentPlaybackSpeed: number;
isPlaying: boolean;
}
Type declaration
-
boomerang: boolean
Whether the playback does "boomerang" (play forward and backward) or not
-
buffer
Head Frame: number The current frame up to which the playback has been buffered. If the replayed sequence is small enough (i.e. contains max. 64 frames), this value will be fixed to the last frame of the sequence.
-
current
Frame: number The current frame at which the playback is currently
-
current
Playback Speed: number The fractional speed with which the sequence is played back currently
Must be a value between 0 and 1
-
is
Playing: boolean Whether the sequence is playing or not
The playback state of an XR sequence.