Finger

class Fingo::Finger

Finger in hand skeleton.

Public Functions

Finger(Hand hand, FingerIndex index)

Create a finger by hand data and finger index.

Parameters
  • hand: The hand data of this finger.
  • index: The finger index of the finger.

Bone GetBone(BoneIndex index)

Get bone of the finger by bone index.

Return
Bone of the finger by bone index.
Parameters
  • index: The bone index of the bone.

float GetFingerBendingRatio()

Get the finger bend ratio. Range is 0 to 1.

Return
The finger bend ratio. Range is 0 to 1.

enum Fingo::FingerIndex

Finger index. Invalid - -1, Thumb - 0, Index - 1, Middle - 2, Ring - 3, Pinky - 4.

Values:

Invalid = -1

Invalid finger index.

Thumb = 0

Thumb finger index.

Index = 1

Index finger index.

Middle = 2

Middle finger index.

Ring = 3

Ring finger index.

Pinky = 4

Pinky finger index.

enum Fingo::FingerState

The state of the finger.

Values:

IntermediateState

The state between extend and bend.

Extend

Extend state of the finger.

Bend

Bend state of the finger.