C# Class LeapRiggedHand, RiggedHandVisualizer

Inheritance: MonoBehaviour
ファイルを表示 Open project: leapmotion/RiggedHandVisualizer

Public Properties

Property Type Description
m_handScaleFactor float
m_stale bool

Public Methods

Method 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

Method Description
FindBone ( Transform array, string boneName ) : Transform
WristToMiddleKnuckle ( Hand h ) : float

Method Details

Draw() public method

public Draw ( bool shouldDraw ) : void
shouldDraw bool
return void

InitializeHand() public method

public InitializeHand ( bool isRightHand ) : void
isRightHand bool
return void

IsRight() public method

public IsRight ( ) : bool
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateHandRig() public method

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
return void

UpdateRig() public method

public UpdateRig ( Hand leapHand ) : void
leapHand Hand
return void

Property Details

m_handScaleFactor public_oe property

public float m_handScaleFactor
return float

m_stale public_oe property

public bool m_stale
return bool