MDN self-hosted library · e01.org

XRWebGLBinding: nativeProjectionScaleFactor property

WebXR Device API

no runnable cells web-api-instance-property upstream source

WebXR Device API

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

Browser compatibility

See also

  • XRWebGLLayer.getNativeFramebufferScaleFactor()