XRImageSourceConfigPlayback¶
Interface XRImageSourceConfigPlayback
interface XRImageSourceConfigPlayback {
autoPlay?: boolean;
endFrame?: number;
speed?: number;
startFrame?: number;
type: PLAYBACK;
url?: string;
}
autoPlay?: boolean;
endFrame?: number;
speed?: number;
startFrame?: number;
type: PLAYBACK;
url?: string;
}
Optionalauto
autoPlay?: boolean
Whether the playback should start pushing the XRImages automatically or not.
Optionalend
endFrame?: number
The index of the end frame of the playback.
Optionalspeed
speed?: number
The speed of the playback relative of to the original FPS. Must be a value between 0 and 1.
Optionalstart
startFrame?: number
The index of the start frame of the playback.
type
The type of the XRImageSource.
Optionalurl
url?: string
The URL of the image source.
Configuration for an XRImageSource that provides XRImages from an image source that can be played back.