HandState class
Represents the tracked state of a hand with 26 joints following OpenXR standard.
Constructors
Properties
- hand → ControllerHand
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexTipPosition → Vector3?
-
no setter
- isFist → bool
-
Whether the hand is making a fist (all tips close to palm).
no setter
- isFlatHand → bool
-
Whether the hand is completely open and flat (all tips extended far from palm).
no setter
- isPinching → bool
-
Whether the user is performing a pinch gesture.
no setter
- isPointing → bool
-
Whether the index finger is extended (pointing).
no setter
- isThumbsUp → bool
-
Whether the hand is doing a thumbs-up gesture (thumb extended, other fingers curled).
no setter
- isVictory → bool
-
Whether the hand is doing a victory/peace gesture (index & middle extended, others curled).
no setter
-
joints
→ Map<
HandJoint, Vector3> -
final
-
orientations
→ Map<
HandJoint, Quaternion> -
final
- palmPosition → Vector3?
-
no setter
- pinchDistance → double
-
Distance between thumb tip and index tip.
no setter
- pointingRay → Ray?
-
Ray from palm through index tip (for pointing/selection).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbTipPosition → Vector3?
-
no setter
- tracked ↔ bool
-
getter/setter pair
Methods
-
joint(
HandJoint j) → Vector3? -
jointOrientation(
HandJoint j) → Quaternion? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
boneConnections
→ const List<
HandBone> - List of 25 standard bone linkages connecting the 26 joints.