Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LiveRealityViewer

Hierarchy

Index

Constructors

constructor

Properties

Private canvas

canvas: HTMLCanvasElement

connectEvent

connectEvent: Event<SessionPort> = new Event<SessionPort>()

Private context

context: CanvasRenderingContext2D

Private deviceService

deviceService: DeviceService

presentChangeEvent

presentChangeEvent: Event<void> = new Event<void>()

providedReferenceFrames

providedReferenceFrames: Array<ReferenceFrame | string> = []

Private sessionService

sessionService: SessionService

Private settingsIframe

settingsIframe: HTMLIFrameElement

uri

uri: string

videoElement

videoElement: HTMLVideoElement

Private videoFov

videoFov: number

Private viewService

viewService: ViewService

Static DEFAULT

DEFAULT: string = "reality:default"

Static EMPTY

EMPTY: string = "reality:empty"

Static LIVE

LIVE: string = "reality:live"

Accessors

isPresenting

  • get isPresenting(): boolean

session

Methods

destroy

  • destroy(): void

getVideoFrame

  • getVideoFrame(x: number, y: number, width: number, height: number): ImageData

load

  • load(): void

setPresenting

  • setPresenting(flag: boolean): void

Protected setupInternalSession

  • setupInternalSession(internalSession: SessionPort): void

Static getType

  • getType(uri?: string): string

Static isAvailable

  • isAvailable(): boolean

Generated using TypeDoc