提交 e5007296 编写于 作者: M Mugen87

WebXRManager: Document .setFramebufferScaleFactor().

上级 4a0dce9d
......@@ -55,6 +55,19 @@
in two different coordinate spaces for the same WebXR controller.
</p>
<h3>[method:void setFramebufferScaleFactor]( [param:Float framebufferScaleFactor] )</h3>
<p>
[page:Float framebufferScaleFactor] — The framebuffer scale factor to set.<br /><br />
Specifies the scaling factor to use when determining the size of the framebuffer when rendering to a XR device.
The value is relative to the default XR device display resolution. Default is *1*. A value of *0.5* would specify
a framebuffer with 50% of the display's native resolution.
</p>
<p>
Note: It is not possible to change the framebuffer scale factor while presenting XR content.
</p>
<h2>Source</h2>
<p>
......
......@@ -55,6 +55,19 @@
in two different coordinate spaces for the same WebXR controller.
</p>
<h3>[method:void setFramebufferScaleFactor]( [param:Float framebufferScaleFactor] )</h3>
<p>
[page:Float framebufferScaleFactor] — The framebuffer scale factor to set.<br /><br />
Specifies the scaling factor to use when determining the size of the framebuffer when rendering to a XR device.
The value is relative to the default XR device display resolution. Default is *1*. A value of *0.5* would specify
a framebuffer with 50% of the display's native resolution.
</p>
<p>
Note: It is not possible to change the framebuffer scale factor while presenting XR content.
</p>
<h2>Source</h2>
<p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册