Interface INeedleXRSessionEventReceiver
Accessors
activeAndEnabled
- get activeAndEnabled(): boolean
Returns boolean
Methods
Optional
onBeforeXR
- onBeforeXR(mode, args): void
Parameters
- mode: XRSessionMode
- args: XRSessionInit
Returns void
Optional
onEnterXR
- onEnterXR(args): void
Returns void
Optional
onLeaveXR
- onLeaveXR(args): void
Returns void
Optional
onUpdateXR
- onUpdateXR(args): void
Returns void
Optional
onXRControllerAdded
- onXRControllerAdded(args): void
Returns void
Optional
onXRControllerRemoved
- onXRControllerRemoved(args): void
Returns void
Optional
supportsXR
- supportsXR(mode): boolean
Returns boolean
Called before requesting a XR session