Interface VREventMap

The events fired by the VR API.

interface VREventMap {
    directionchange: DirectionChangeEvent;
    error: ErrorEvent;
    statechange: StateChangeEvent;
    stereochange: StereoChangeEvent;
}

Properties

directionchange: DirectionChangeEvent

Fired when the VR.direction changes.

error: ErrorEvent

Fired when an error occurs.

statechange: StateChangeEvent

Fired when the VR.state changes.

stereochange: StereoChangeEvent

Fired when the VR.stereo changes.

Generated using TypeDoc