C# Class LeapUnitySelectionController, Leap-Motion-Hands-Tracking

Inheritance: MonoBehaviour
Exibir arquivo Open project: NicolaGenesin/Leap-Motion-Hands-Tracking Class Usage Examples

Protected Properties

Property Type Description
kBlankColor Color
m_FirstTouchedTime float
m_FocusedObject GameObject
m_LastFrame Leap.Frame
m_LastMovedTime float
m_LastPos List
m_Selected bool
m_Touching List

Public Methods

Method Description
CheckEndSelection ( Frame, thisFrame ) : bool
CheckShouldMove ( Frame, thisFrame ) : bool
CheckShouldRotate ( Frame, thisFrame ) : bool
CheckShouldScale ( Frame, thisFrame ) : bool
ClearFocus ( ) : void
DoMovement ( Frame, thisFrame ) : void
DoRotation ( Frame, thisFrame ) : void
DoScaling ( Frame, thisFrame ) : void
Get ( ) : LeapUnitySelectionController,
OnRayHit ( RaycastHit info ) : void
OnStoppedTouching ( GameObject finger, Collider other ) : void
OnTouched ( GameObject finger, Collider other ) : void
SetFocus ( GameObject focus ) : void
SetHighlightColor ( Color c ) : void

Protected Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

CheckEndSelection() public method

public CheckEndSelection ( Frame, thisFrame ) : bool
thisFrame Frame,
return bool

CheckShouldMove() public method

public CheckShouldMove ( Frame, thisFrame ) : bool
thisFrame Frame,
return bool

CheckShouldRotate() public method

public CheckShouldRotate ( Frame, thisFrame ) : bool
thisFrame Frame,
return bool

CheckShouldScale() public method

public CheckShouldScale ( Frame, thisFrame ) : bool
thisFrame Frame,
return bool

ClearFocus() public method

public ClearFocus ( ) : void
return void

DoMovement() public method

public DoMovement ( Frame, thisFrame ) : void
thisFrame Frame,
return void

DoRotation() public method

public DoRotation ( Frame, thisFrame ) : void
thisFrame Frame,
return void

DoScaling() public method

public DoScaling ( Frame, thisFrame ) : void
thisFrame Frame,
return void

Get() public static method

public static Get ( ) : LeapUnitySelectionController,
return LeapUnitySelectionController,

OnRayHit() public method

public OnRayHit ( RaycastHit info ) : void
info UnityEngine.RaycastHit
return void

OnStoppedTouching() public method

public OnStoppedTouching ( GameObject finger, Collider other ) : void
finger GameObject
other Collider
return void

OnTouched() public method

public OnTouched ( GameObject finger, Collider other ) : void
finger GameObject
other Collider
return void

SetFocus() public method

public SetFocus ( GameObject focus ) : void
focus GameObject
return void

SetHighlightColor() public method

public SetHighlightColor ( Color c ) : void
c Color
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

kBlankColor protected_oe property

protected Color kBlankColor
return Color

m_FirstTouchedTime protected_oe property

protected float m_FirstTouchedTime
return float

m_FocusedObject protected_oe property

protected GameObject m_FocusedObject
return GameObject

m_LastFrame protected_oe property

protected Frame,Leap m_LastFrame
return Leap.Frame

m_LastMovedTime protected_oe property

protected float m_LastMovedTime
return float

m_LastPos protected_oe property

protected List m_LastPos
return List

m_Selected protected_oe property

protected bool m_Selected
return bool

m_Touching protected_oe property

protected List m_Touching
return List