Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VRDisplayEvent object is used to represent events that occur in relation to a VRDisplay object.
Syntax
var displayEvent = new VRDisplayEvent(type, eventInitDict);
Members
The VRDisplayCapabilities object has these types of members:
- Properties
Properties
The VRDisplayCapabilities object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
The display property represents the VRDisplay associated with this event. |
|
Read-only |
The reason property represents why the VRDisplay event has been fired. |
Remarks
The VRDisplayEvent constructor includes the following parameters:
Parameter | Type | Description |
---|---|---|
type | DOMString | Specifies the event type. |
eventInitDict | VRDisplayEventInit | Specifies the VRDisplay involved with the event and why it was fired. |