-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
31 lines (20 loc) · 1.04 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: "XRWebGLBinding: nativeProjectionScaleFactor property"
short-title: nativeProjectionScaleFactor
slug: Web/API/XRWebGLBinding/nativeProjectionScaleFactor
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.XRWebGLBinding.nativeProjectionScaleFactor
---
{{APIRef("WebXR Device API")}}{{SeeCompatTable}}
The read-only **`nativeProjectionScaleFactor`** property of the {{domxref("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 {{domxref("XRWebGLLayer.getNativeFramebufferScaleFactor_static", "XRWebGLLayer.getNativeFramebufferScaleFactor()")}}.
## Value
A floating-point number representing by how much the device's native frame buffer size is scaled by.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{domxref("XRWebGLLayer.getNativeFramebufferScaleFactor_static", "XRWebGLLayer.getNativeFramebufferScaleFactor()")}}