Drag[en]gine Script Module DragonScript  1.23
Dragengine.InputDeviceHandBone Class Reference

Convenience enumeration for hand bones. More...

Inheritance diagram for Dragengine.InputDeviceHandBone:

Static Public Attributes

static final int index0 = 5
 
static final int index1 = 6
 
static final int index2 = 7
 
static final int index3 = 8
 
static final int middle0 = 9
 
static final int middle1 = 10
 
static final int middle2 = 11
 
static final int middle3 = 12
 
static final int pinky0 = 17
 
static final int pinky1 = 18
 
static final int pinky2 = 19
 
static final int pinky3 = 20
 
static final int ring0 = 13
 
static final int ring1 = 14
 
static final int ring2 = 15
 
static final int ring3 = 16
 
static final int thumb0 = 1
 
static final int thumb1 = 2
 
static final int thumb2 = 3
 
static final int thumb3 = 4
 
static final int wrist = 0
 

Detailed Description

Convenience enumeration for hand bones.

Bones are defined for fingers in this order:

  • Wrist: 0
  • Thumb: bones 1 to 4
  • Index finger: bones 5 to 8
  • Middle finger: bones 9 to 12
  • Ring finger: bones 13 to 16
  • Pinky finger: bones 17 to 20

For a total of 21 bones. Each finger has 4 bones in these order:

  • Segment 0: inside palm
  • Segment 1: first finger segment
  • Segment 2: second finger segment
  • Segment 3: third finger segment

Poses are relative to the parent bone inside chains and the device coordinate frame for chain root bones.

Valid is InputDeviceBoneConfiguration.hand is used.

Member Data Documentation

◆ index0

final int Dragengine.InputDeviceHandBone.index0 = 5
static

◆ index1

final int Dragengine.InputDeviceHandBone.index1 = 6
static

◆ index2

final int Dragengine.InputDeviceHandBone.index2 = 7
static

◆ index3

final int Dragengine.InputDeviceHandBone.index3 = 8
static

◆ middle0

final int Dragengine.InputDeviceHandBone.middle0 = 9
static

◆ middle1

final int Dragengine.InputDeviceHandBone.middle1 = 10
static

◆ middle2

final int Dragengine.InputDeviceHandBone.middle2 = 11
static

◆ middle3

final int Dragengine.InputDeviceHandBone.middle3 = 12
static

◆ pinky0

final int Dragengine.InputDeviceHandBone.pinky0 = 17
static

◆ pinky1

final int Dragengine.InputDeviceHandBone.pinky1 = 18
static

◆ pinky2

final int Dragengine.InputDeviceHandBone.pinky2 = 19
static

◆ pinky3

final int Dragengine.InputDeviceHandBone.pinky3 = 20
static

◆ ring0

final int Dragengine.InputDeviceHandBone.ring0 = 13
static

◆ ring1

final int Dragengine.InputDeviceHandBone.ring1 = 14
static

◆ ring2

final int Dragengine.InputDeviceHandBone.ring2 = 15
static

◆ ring3

final int Dragengine.InputDeviceHandBone.ring3 = 16
static

◆ thumb0

final int Dragengine.InputDeviceHandBone.thumb0 = 1
static

◆ thumb1

final int Dragengine.InputDeviceHandBone.thumb1 = 2
static

◆ thumb2

final int Dragengine.InputDeviceHandBone.thumb2 = 3
static

◆ thumb3

final int Dragengine.InputDeviceHandBone.thumb3 = 4
static

◆ wrist

final int Dragengine.InputDeviceHandBone.wrist = 0
static

The documentation for this class was generated from the following file: