XRHandMeshModel class
Represents one of the hand model types {@link XRHandModelFactory} might produce
depending on the selected profile. XRHandMeshModel
represents a hand with a
custom asset.
@three_import import { XRHandMeshModel } from 'three/addons/webxr/XRHandMeshModel.js';
- Inheritance
-
- Object
- MotionController
- XRHandMeshModel
Constructors
- XRHandMeshModel.new(XRHandModel handModel, WebXRController controller, String? path, dynamic handedness, [GLTFLoader? loader, Function? onLoad])
- Constructs a new XR hand mesh model.
Properties
- assetUrl ↔ String?
-
getter/setter pairinherited
-
bones
↔ List<
Object3D?> ? -
getter/setter pair
- components ↔ Map
-
getter/setter pairinherited
- controller ↔ WebXRController
-
getter/setter pair
- data → dynamic
-
@description Returns a subset of component data for simplified debugging
no setterinherited
- gripSpace → dynamic
-
no setterinherited
- handModel ↔ XRHandModel
-
getter/setter pair
- hardness ↔ XRHandedness?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ dynamic
-
getter/setter pairinherited
- layoutDescription ↔ dynamic
-
getter/setter pairinherited
- loader ↔ GLTFLoader?
-
getter/setter pair
- onLoad ↔ Function?
-
getter/setter pair
- path ↔ String?
-
getter/setter pair
-
profile
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetRaySpace → dynamic
-
no setterinherited
- xrInputSource ↔ XRInputSource?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateFromGamepad(
) → void -
@description Poll for updated data based on current gamepad state
inherited
-
updateMesh(
) → void -
Updates the mesh based on the tracked XR joints data.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited