ImmersiveVRCameraRigSystem

ImmersiveVRCameraRigSystem

VRCameraRigSystem used to process VR related data. Entry point for all the VR devices

Constructor

new ImmersiveVRCameraRigSystem(vrCanvasDom)

Parameters:
Name Type Description
vrCanvasDom dom

Dom used to render vr.

Methods

(static) canPresent() → {boolean}

Static function which used to identify if the window has any usable VR display

hasExternalDisplay() → {boolean}

Identify if the currentDisplay has externalDisplay.

onPostRender()

Called after the scene is rendered.

startVR()

Called to start presenting VR.
Query capability first before this function; this is called from a user gesture and needs
createVRSession to be the first promise in the chain

stopVR()

Called to stop presenting VR.