VRDisplayCapabilities object
The VRDisplayCapabilities object describes the capabilities of a VRDisplay.
Syntax
var capabilities = new VRDisplayCapabilities();
Members
The VRDisplayCapabilities object has these types of members:
- Properties
Properties
The VRDisplayCapabilities object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
The canPresent property returns whether the VRDisplay is capable of presenting content to an HMD (head mounted display) or similar device. |
|
Read-only |
The hasExternalDisplay property returns whether the VRDisplay is separate from the device’s primary display. |
|
Read-only |
The hasOrientation property returns whether the VRDisplay is capable of tracking its orientation. |
|
Read-only |
The hasPosition property returns whether the VRDisplay is capable of tracking its position. |
|
Read-only |
The maxLayers property returns the maximum length of an array that VRDisplay.requestPresent will accept. |
Remarks
These capabilities are expected to be static per-device/per-user.