Share via


canPresent property

The canPresent property returns whether the VRDisplay is capable of presenting content to an HMD (head mounted display) or similar device.

This property is read-only.

Syntax

JavaScript
canPresent = object.canPresent

 

Property values

Type: boolean

Remarks

If the canPresent property is false, calls to VRDisplay.requestPresent will fail, and VRDisplay.getEyeParameters will be null.

See also

VRDisplayCapabilities