C# Class FingerModel

Inheritance: MonoBehaviour
Datei anzeigen Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
bones Transform[]
joints Transform[]

Protected Properties

Property Type Description
controller_ HandController,
finger_ Finger
hand_ Hand
mirror_z_axis_ bool
offset_ Vector3

Public Methods

Method Description
GetBoneCenter ( int bone_type ) : Vector3
GetBoneDirection ( int bone_type ) : Vector3
GetBoneLength ( int bone_type ) : float
GetBoneRotation ( int bone_type ) : Quaternion
GetBoneWidth ( int bone_type ) : float
GetController ( ) : HandController,
GetFingerJointSpreadMecanim ( ) : float
GetFingerJointStretchMecanim ( int joint_type ) : float
GetJointPosition ( int joint ) : Vector3
GetLeapFinger ( ) : Finger
GetLeapHand ( ) : Hand
GetOffset ( ) : Vector3
GetRay ( ) : Ray
GetTipPosition ( ) : Vector3
InitFinger ( ) : void
MirrorZAxis ( bool mirror = true ) : void
SetController ( HandController, controller ) : void
SetLeapHand ( Hand hand ) : void
SetOffset ( Vector3 offset ) : void
UpdateFinger ( ) : void

Method Details

GetBoneCenter() public method

public GetBoneCenter ( int bone_type ) : Vector3
bone_type int
return Vector3

GetBoneDirection() public method

public GetBoneDirection ( int bone_type ) : Vector3
bone_type int
return Vector3

GetBoneLength() public method

public GetBoneLength ( int bone_type ) : float
bone_type int
return float

GetBoneRotation() public method

public GetBoneRotation ( int bone_type ) : Quaternion
bone_type int
return Quaternion

GetBoneWidth() public method

public GetBoneWidth ( int bone_type ) : float
bone_type int
return float

GetController() public method

public GetController ( ) : HandController,
return HandController,

GetFingerJointSpreadMecanim() public method

public GetFingerJointSpreadMecanim ( ) : float
return float

GetFingerJointStretchMecanim() public method

public GetFingerJointStretchMecanim ( int joint_type ) : float
joint_type int
return float

GetJointPosition() public method

public GetJointPosition ( int joint ) : Vector3
joint int
return Vector3

GetLeapFinger() public method

public GetLeapFinger ( ) : Finger
return Finger

GetLeapHand() public method

public GetLeapHand ( ) : Hand
return Hand

GetOffset() public method

public GetOffset ( ) : Vector3
return Vector3

GetRay() public method

public GetRay ( ) : Ray
return Ray

GetTipPosition() public method

public GetTipPosition ( ) : Vector3
return Vector3

InitFinger() public method

public InitFinger ( ) : void
return void

MirrorZAxis() public method

public MirrorZAxis ( bool mirror = true ) : void
mirror bool
return void

SetController() public method

public SetController ( HandController, controller ) : void
controller HandController,
return void

SetLeapHand() public method

public SetLeapHand ( Hand hand ) : void
hand Hand
return void

SetOffset() public method

public SetOffset ( Vector3 offset ) : void
offset Vector3
return void

UpdateFinger() public abstract method

public abstract UpdateFinger ( ) : void
return void

Property Details

bones public_oe property

public Transform[] bones
return Transform[]

controller_ protected_oe property

protected HandController, controller_
return HandController,

finger_ protected_oe property

protected Finger finger_
return Finger

hand_ protected_oe property

protected Hand hand_
return Hand

joints public_oe property

public Transform[] joints
return Transform[]

mirror_z_axis_ protected_oe property

protected bool mirror_z_axis_
return bool

offset_ protected_oe property

protected Vector3 offset_
return Vector3