|
@@ -68,6 +68,19 @@
|
|
|
Note: It is not possible to change the framebuffer scale factor while presenting XR content.
|
|
|
</p>
|
|
|
|
|
|
+ <h3>[method:void setReferenceSpaceType]( [param:String referenceSpaceType] )</h3>
|
|
|
+ <p>
|
|
|
+ [page:String referenceSpaceType] — The reference space type to set.<br /><br />
|
|
|
+
|
|
|
+ Can be used to configure a spatial relationship with the user's physical environment. Depending on how the user moves in 3D space, setting an
|
|
|
+ appropriate reference space can improve tracking. Default is *local-floor*.
|
|
|
+ Please check out the [link:https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpaceType MDN] for possible values and their use cases.
|
|
|
+ </p>
|
|
|
+
|
|
|
+ <p>
|
|
|
+ Note: It is not possible to change the reference space type while presenting XR content.
|
|
|
+ </p>
|
|
|
+
|
|
|
<h2>Source</h2>
|
|
|
|
|
|
<p>
|