From 5fbc052f0e936c474cf459a69f4b08344d226097 Mon Sep 17 00:00:00 2001
From: Mugen87
+ Returns an instance of [page:ArrayCamera] which represents the XR camera of the active XR session.
+ For each view it holds a separate camera object in its [page:ArrayCamera.cameras cameras] property.
+ The method requires the non-XR camera of the scene as a parameter.
+
[page:Integer index] — The index of the controller.
[page:Integer index] — The index of the controller. [property:Boolean isPresenting]
Methods
+ [method:ArrayCamera getCamera]( [param:PerspectiveCamera camera] )
+ [method:Group getController]( [param:Integer index] )
- Returns a [page:Group] representing the so called *target ray* space of the controller.
+ Returns a [page:Group] representing the so called *target ray* space of the XR controller.
Use this space for visualizing 3D objects that support the user in pointing tasks like UI interaction.
[method:Group getControllerGrip]( [param:Integer index] )
- Returns a [page:Group] representing the so called *grip* space of the controller.
+ Returns a [page:Group] representing the so called *grip* space of the XR controller.
Use this space if the user is going to hold other 3D objects like a lightsaber.
[method:Group getControllerGrip]( [param:Integer index] )
in two different coordinate spaces for the same WebXR controller.
+ [page:Integer index] — The index of the controller.
+
+ Returns a [page:Group] representing the so called *hand* or *joint* space of the XR controller.
+ Use this space for visualizing the user's hands when no physical controllers are used.
+
+ Returns the reference space. +
+ ++ Returns the *XRSession* object which allows a more fine-grained management of active WebXR sessions on application level. +
+
[page:Float framebufferScaleFactor] — The framebuffer scale factor to set.
diff --git a/docs/api/zh/renderers/webxr/WebXRManager.html b/docs/api/zh/renderers/webxr/WebXRManager.html
index b8333738bbfbb0..96d64f7ad7dc78 100644
--- a/docs/api/zh/renderers/webxr/WebXRManager.html
+++ b/docs/api/zh/renderers/webxr/WebXRManager.html
@@ -32,11 +32,18 @@
+ Returns an instance of [page:ArrayCamera] which represents the XR camera of the active XR session. + For each view it holds a separate camera object in its [page:ArrayCamera.cameras cameras] property. + The method requires the non-XR camera of the scene as a parameter. +
+
[page:Integer index] — The index of the controller.
- Returns a [page:Group] representing the so called *target ray* space of the controller.
+ Returns a [page:Group] representing the so called *target ray* space of the XR controller.
Use this space for visualizing 3D objects that support the user in pointing tasks like UI interaction.
[page:Integer index] — The index of the controller.
- Returns a [page:Group] representing the so called *grip* space of the controller.
+ Returns a [page:Group] representing the so called *grip* space of the XR controller.
Use this space if the user is going to hold other 3D objects like a lightsaber.
+ [page:Integer index] — The index of the controller.
+
+ Returns a [page:Group] representing the so called *hand* or *joint* space of the XR controller.
+ Use this space for visualizing the user's hands when no physical controllers are used.
+
+ Returns the reference space. +
+ ++ Returns the *XRSession* object which allows a more fine-grained management of active WebXR sessions on application level. +
+
[page:Float framebufferScaleFactor] — The framebuffer scale factor to set.