UxrAvatarHand Class
Stores bone references of an Avatar’s hand.
Inheritance Hierarchy
System.Object
UltimateXR.Avatar.Rig.UxrAvatarHand
Namespace: UltimateXR.Avatar.Rig
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class UxrAvatarHand
The UxrAvatarHand type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UxrAvatarHand | Default constructor. |
Properties
Name | Description | |
---|---|---|
FingerTransforms | Gets a sequence of all the non-null finger transforms in the hand. | |
Index | Gets or sets the index finger. | |
Little | Gets or sets the little finger. | |
Middle | Gets or sets the middle finger. | |
Ring | Gets or sets the ring finger. | |
Thumb | Gets or sets the thumb finger. | |
Transforms | Gets a sequence of all the non-null transforms in the hand, including the wrist. | |
Wrist | Gets or sets the wrist transform. The wrist is the root transform in the hand. |
Methods
Name | Description | |
---|---|---|
GetFinger | Gets the information of a given finger. | |
GetPalmCenter | Tries to compute the palm center in world coordinates. | |
GetPalmOutDirection | Tries to compute the direction that goes out of the palm in world coordinates. | |
GetPalmToFingerDirection | Tries to compute the palm-to-finger direction in world coordinates. | |
HasFingerData | Checks if the hand has all finger references. | |
HasFullHandData | Checks if the hand has all finger references plus the wrist. |
Extension Methods
Name | Description | |
---|---|---|
ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |