vrdisplaypointerrestricted | onvrdisplaypointerrestricted event
Fires when pointer input is restricted to consumption via a pointerlocked element. This event will only be dispatched while the VR display is presenting.
Syntax
| attachEvent Method | object.attachEvent("onvrdisplaypointerrestricted", handler) |
|---|
Event handler parameters
This method has no parameters.
Remarks
Pages that wish to consume pointer input for HMD experiences are encouraged to call requestPointerLock in response to this event.
See also
Show: