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

NameDescription
Public methodUxrAvatarFinger

Properties

NameDescription
Public propertyDistal Gets or sets the distal bone transform.
Public propertyIntermediate Gets or sets the intermediate bone transform.
Public propertyMetacarpal Gets or sets the metacarpal bone transform. Metacarpal bones are optional.
Public propertyProximal Gets or sets the proximal bone transform.
Public propertyTransforms Gets a sequence of all the non-null transforms in the finger.

Methods

NameDescription
Public methodHasData Checks if the finger has the required bone references. The only optional bone is the metacarpal bone, which may be null.
Public methodSetupFingerBones 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

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Avatar.Rig Namespace