diff --git a/docs/api/en/renderers/webxr/WebXRManager.html b/docs/api/en/renderers/webxr/WebXRManager.html index 8dbb36a8b28835..ffc354baad0ec3 100644 --- a/docs/api/en/renderers/webxr/WebXRManager.html +++ b/docs/api/en/renderers/webxr/WebXRManager.html @@ -32,11 +32,18 @@

[property:Boolean isPresenting]

Methods

+

[method:ArrayCamera getCamera]( [param:PerspectiveCamera camera] )

+

+ 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. +

+

[method:Group getController]( [param:Integer index] )

[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.

@@ -44,7 +51,7 @@

[method:Group getControllerGrip]( [param:Integer index] )

[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.

@@ -54,6 +61,24 @@

[method:Group getControllerGrip]( [param:Integer index] )

in two different coordinate spaces for the same WebXR controller.

+

[method:Group getHand]( [param:Integer index] )

+

+ [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. +

+ +

[method:String getReferenceSpace]()

+

+ Returns the reference space. +

+ +

[method:XRSession getSession]()

+

+ Returns the *XRSession* object which allows a more fine-grained management of active WebXR sessions on application level. +

+

[method:void setFramebufferScaleFactor]( [param:Float framebufferScaleFactor] )

[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 @@

[property:Boolean isPresenting]

Methods

+

[method:ArrayCamera getCamera]( [param:PerspectiveCamera camera] )

+

+ 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. +

+

[method:Group getController]( [param:Integer index] )

[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.

@@ -44,7 +51,7 @@

[method:Group getControllerGrip]( [param:Integer index] )

[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.

@@ -54,6 +61,24 @@

[method:Group getControllerGrip]( [param:Integer index] )

in two different coordinate spaces for the same WebXR controller.

+

[method:Group getHand]( [param:Integer index] )

+

+ [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. +

+ +

[method:String getReferenceSpace]()

+

+ Returns the reference space. +

+ +

[method:XRSession getSession]()

+

+ Returns the *XRSession* object which allows a more fine-grained management of active WebXR sessions on application level. +

+

[method:void setFramebufferScaleFactor]( [param:Float framebufferScaleFactor] )

[page:Float framebufferScaleFactor] — The framebuffer scale factor to set.