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

  • Optional autoPlay?: boolean

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

    Default

    false
    
  • Optional endFrame?: number

    The index of the end frame of the playback.

    Default

    <totalFrames> - 1
    

    See

    XRPlaybackProperties

  • Optional speed?: number

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

    Default

    1.0
    
  • Optional startFrame?: number

    The index of the start frame of the playback.

    Default

    0
    
  • type: PLAYBACK

    The type of the XRImageSource.

  • Optional url?: string

    The URL of the image source.

    Default

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

    See

    HUB_URL


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: