Partager via


maxLayers property

The maxLayers property returns the maximum length of an array that VRDisplay.requestPresent will accept.

This property is read-only.

Syntax

JavaScript
maxLayers = object.maxLayers

 

Property values

Type: unsigned long

Remarks

The value must be 1 if canPresent is true, 0 otherwise.

See also

VRDisplayCapabilities