XRImageSourceConfigPlayback

Type Alias XRImageSourceConfigPlayback

XRImageSourceConfigPlayback: {
    autoPlay?: boolean;
    endFrame?: number;
    speed?: number;
    startFrame?: number;
    type: PLAYBACK;
    url?: string;
}

Configuration for an XRImageSource that provides XRImages from an image source that can be played back.

Type declaration

  • OptionalautoPlay?: boolean

    Whether the playback should start pushing the XRImages automatically or not.

    false
    
  • OptionalendFrame?: number

    The index of the end frame of the playback.

    <totalFrames> - 1
    
  • Optionalspeed?: number

    The speed of the playback relative of to the original FPS. Must be a value between 0 and 1.

    1.0
    
  • OptionalstartFrame?: number

    The index of the start frame of the playback.

    0
    
  • type: PLAYBACK

    The type of the XRImageSource.

  • Optionalurl?: string

    The URL of the image source.

    <HUB_URL>/repo/webvis/data/manifest.json