Capítulo 629 de 859
Represents a XR controller model.
Constructor
| Signature |
|---|
new XRControllerModel() |
Properties
| Property | Description |
|---|---|
.envMap : Texture | The controller's environment map. |
.motionController : MotionController | The motion controller. |
Methods
| Method | Description |
|---|---|
.setEnvironmentMap( envMap : Texture ) : XRControllerModel | Sets an environment map that is applied to the controller model. |
.updateMatrixWorld( force : boolean ) | Overwritten with a custom implementation. Polls data from the XRInputSource and updates the model's components to match the real world data. |