C# Class HandModel

Mostra file Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
elbowJoint Transform
fingers FingerModel[],
forearm Transform
handModelPalmWidth float
palm Transform
wristJoint Transform

Protected Properties

Property Type Description
controller_ HandController,
hand_ Hand,
mirror_z_axis_ bool

Public Methods

Method Description
GetArmCenter ( ) : Vector3
GetArmDirection ( ) : Vector3
GetArmLength ( ) : float
GetArmRotation ( ) : Quaternion
GetArmWidth ( ) : float
GetController ( ) : HandController,
GetElbowPosition ( ) : Vector3
GetHandOffset ( ) : Vector3
GetLeapHand ( ) : Hand,
GetPalmDirection ( ) : Vector3
GetPalmNormal ( ) : Vector3
GetPalmPosition ( ) : Vector3
GetPalmRotation ( ) : Quaternion
GetWristPosition ( ) : Vector3
InitHand ( ) : void
IsMirrored ( ) : bool
LeapID ( ) : int
MirrorZAxis ( bool mirror = true ) : void
SetController ( HandController, controller ) : void
SetLeapHand ( Hand, hand ) : void
UpdateHand ( ) : void

Method Details

GetArmCenter() public method

public GetArmCenter ( ) : Vector3
return Vector3

GetArmDirection() public method

public GetArmDirection ( ) : Vector3
return Vector3

GetArmLength() public method

public GetArmLength ( ) : float
return float

GetArmRotation() public method

public GetArmRotation ( ) : Quaternion
return Quaternion

GetArmWidth() public method

public GetArmWidth ( ) : float
return float

GetController() public method

public GetController ( ) : HandController,
return HandController,

GetElbowPosition() public method

public GetElbowPosition ( ) : Vector3
return Vector3

GetHandOffset() public method

public GetHandOffset ( ) : Vector3
return Vector3

GetLeapHand() public method

public GetLeapHand ( ) : Hand,
return Hand,

GetPalmDirection() public method

public GetPalmDirection ( ) : Vector3
return Vector3

GetPalmNormal() public method

public GetPalmNormal ( ) : Vector3
return Vector3

GetPalmPosition() public method

public GetPalmPosition ( ) : Vector3
return Vector3

GetPalmRotation() public method

public GetPalmRotation ( ) : Quaternion
return Quaternion

GetWristPosition() public method

public GetWristPosition ( ) : Vector3
return Vector3

InitHand() public method

public InitHand ( ) : void
return void

IsMirrored() public method

public IsMirrored ( ) : bool
return bool

LeapID() public method

public LeapID ( ) : int
return int

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

UpdateHand() public abstract method

public abstract UpdateHand ( ) : void
return void

Property Details

controller_ protected_oe property

protected HandController, controller_
return HandController,

elbowJoint public_oe property

public Transform elbowJoint
return Transform

fingers public_oe property

public FingerModel[], fingers
return FingerModel[],

forearm public_oe property

public Transform forearm
return Transform

handModelPalmWidth public_oe property

public float handModelPalmWidth
return float

hand_ protected_oe property

protected Hand, hand_
return Hand,

mirror_z_axis_ protected_oe property

protected bool mirror_z_axis_
return bool

palm public_oe property

public Transform palm
return Transform

wristJoint public_oe property

public Transform wristJoint
return Transform