UxrAvatarFinger Class
Stores bone references of an Avatar’s finger.
Inheritance Hierarchy
System.Object
UltimateXR.Avatar.Rig.UxrAvatarFinger
Namespace: UltimateXR.Avatar.Rig
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class UxrAvatarFinger
The UxrAvatarFinger type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UxrAvatarFinger |
Properties
Name | Description | |
---|---|---|
Distal | Gets or sets the distal bone transform. | |
Intermediate | Gets or sets the intermediate bone transform. | |
Metacarpal | Gets or sets the metacarpal bone transform. Metacarpal bones are optional. | |
Proximal | Gets or sets the proximal bone transform. | |
Transforms | Gets a sequence of all the non-null transforms in the finger. |
Methods
Name | Description | |
---|---|---|
HasData | Checks if the finger has the required bone references. The only optional bone is the metacarpal bone, which may be null. | |
SetupFingerBones | Sets up the finger bones using a list starting from the metacarpal (if there are 4 elements) or the proximal (if there are 3). |
Extension Methods
Name | Description | |
---|---|---|
ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |