Capítulo 632 de 859

Chapter 632: XRHandModel

Core Idea

Represents a XR hand model.

Key Concepts

  • controller : Group: The hand controller.
  • envMap : Texture: The controller's environment map.
  • mesh : Mesh: The model mesh.
  • motionController : MotionController: The motion controller.

Reference Tables

Constructor

Signature
new XRHandModel( controller : Group )

Properties

PropertyDescription
.controller : GroupThe hand controller.
.envMap : TextureThe controller's environment map.
.mesh : MeshThe model mesh.
.motionController : MotionControllerThe motion controller.

Methods

MethodDescription
.updateMatrixWorld( force : boolean )Overwritten with a custom implementation. Makes sure the motion controller updates the mesh.

Key Takeaways

  1. XRHandModel extends: EventDispatcher → Object3D
  2. Most relevant properties: controller, envMap, mesh, motionController.
  3. Key methods: updateMatrixWorld.

Connects To