C# Class LeapRiggedHand, RiggedHandVisualizer

Inheritance: MonoBehaviour
Afficher le fichier Open project: leapmotion/RiggedHandVisualizer

Méthodes publiques

Свойство Type Description
m_handScaleFactor float
m_stale bool

Méthodes publiques

Méthode Description
Draw ( bool shouldDraw ) : void
InitializeHand ( bool isRightHand ) : void
IsRight ( ) : bool
OnDestroy ( ) : void
Update ( ) : void
UpdateHandRig ( Transform bones, string hand, Quaternion offsetArm, Quaternion offsetHand, Hand h, Vector3 handStart ) : void
UpdateRig ( Hand leapHand ) : void

Private Methods

Méthode Description
FindBone ( Transform array, string boneName ) : Transform
WristToMiddleKnuckle ( Hand h ) : float

Method Details

Draw() public méthode

public Draw ( bool shouldDraw ) : void
shouldDraw bool
Résultat void

InitializeHand() public méthode

public InitializeHand ( bool isRightHand ) : void
isRightHand bool
Résultat void

IsRight() public méthode

public IsRight ( ) : bool
Résultat bool

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateHandRig() public méthode

public UpdateHandRig ( Transform bones, string hand, Quaternion offsetArm, Quaternion offsetHand, Hand h, Vector3 handStart ) : void
bones Transform
hand string
offsetArm Quaternion
offsetHand Quaternion
h Hand
handStart Vector3
Résultat void

UpdateRig() public méthode

public UpdateRig ( Hand leapHand ) : void
leapHand Hand
Résultat void

Property Details

m_handScaleFactor public_oe property

public float m_handScaleFactor
Résultat float

m_stale public_oe property

public bool m_stale
Résultat bool