Engine API Reference
    Preparing search index...

    Class XrFinger

    Represents a finger of a tracked XrHand with related joints and index.

    Index

    Accessors

    Accessors

    • get hand(): XrHand

      Gets the hand that the finger belongs to.

      Returns XrHand

    • get index(): number

      Gets the index of the finger. Enumeration is: thumb, index, middle, ring, little.

      Returns number

    • get joints(): XrJoint[]

      Array of joints that belong to this finger, starting from joint closest to wrist all the way to the tip of a finger.

      Returns XrJoint[]

    • get tip(): null | XrJoint

      Tip joint of the finger, or null if not available.

      Returns null | XrJoint