Struct XRHand
Represents a hand from an XRHandSubsystem. Do not create this yourself - get hand objects from the leftHand and rightHand properties of the XRHandSubsystem.
Implements
Inherited Members
Namespace: UnityEngine.XR.Hands
Assembly: solution.dll
Syntax
public struct XRHand : IEquatable<XRHand>
Remarks
See Hand tracking for a description of the hand data model and how to access the tracking data.
Properties
Name | Description |
---|---|
handedness | Represents which hand this is. |
isTracked | Whether the subsystem is currently tracking this hand's root pose and joints. |
rootPose | Root pose for the hand. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(XRHand) | Tests for equality. |
GetHashCode() | Computes a hash code from all fields of XRHand. |
GetJoint(XRHandJointID) | Retrieves an XRHandJoint by its ID. |
ToString() | Returns a string representation of the XRHand. |
Operators
Name | Description |
---|---|
operator ==(XRHand, XRHand) | Tests for equality. Same as Equals(XRHand). |
operator !=(XRHand, XRHand) | Tests for inequality. Same as !Equals(XRHand) |