Firefox Tomorrow

web api instance property

XRWebGLBinding: nativeProjectionScaleFactor property

View on MDN ↗

Limited availability

The read-only nativeProjectionScaleFactor property of the XRWebGLBinding interface represents the scaling factor by which the projection layer’s resolution is multiplied by to get the native resolution of the WebXR device’s frame buffer.

For more details, see XRWebGLLayer.getNativeFramebufferScaleFactor().

Value

A floating-point number representing by how much the device’s native frame buffer size is scaled by.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also