Represents one of the hand model types XRHandModelFactory might produce depending on the selected profile. XRHandPrimitiveModel represents a hand with sphere or box primitives according to the selected primitive option.
XRHandPrimitiveModel is an addon, and must be imported explicitly, see Installation#Addons.
import { XRHandPrimitiveModel } from 'three/addons/webxr/XRHandPrimitiveModel.js';
Constructs a new XR hand primitive model.
handModel
The hand model.
controller
The WebXR controller.
path
The model path.
handedness
The handedness of the XR input source.
options
The model options.
The WebXR controller.
The model's environment map.
Default is null.
The hand model.
Updates the mesh based on the tracked XR joints data.
Constructor options of XRHandPrimitiveModel.
primitive
'box' | 'sphere'
The primitive type.