C# Class InteractionManager, Kinect-vs-Autism-project-CSI-2

Inheritance: MonoBehaviour
Exibir arquivo Open project: mfppvl/Kinect-vs-Autism-project-CSI-2 Class Usage Examples

Public Properties

Property Type Description
allowHandClicks bool
controlMouseCursor bool
controlMouseDrag bool
debugText GUIText
gripHandTexture Texture
normalHandTexture Texture
playerIndex int
releaseHandTexture Texture
smoothFactor float
useHandCursor bool

Public Methods

Method Description
GetCursorPosition ( ) : Vector3
GetLastLeftHandEvent ( ) : HandEventType
GetLastRightHandEvent ( ) : HandEventType
GetLeftHandClickProgress ( ) : float
GetLeftHandEvent ( ) : HandEventType
GetLeftHandScreenPos ( ) : Vector3
GetRightHandClickProgress ( ) : float
GetRightHandEvent ( ) : HandEventType
GetRightHandScreenPos ( ) : Vector3
GetUserID ( ) : long
IsInteractionInited ( ) : bool
IsLeftHandClickDetected ( ) : bool
IsLeftHandPress ( ) : bool
IsLeftHandPrimary ( ) : bool
IsRightHandClickDetected ( ) : bool
IsRightHandPress ( ) : bool
IsRightHandPrimary ( ) : bool
OnDestroy ( ) : void
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
HandStateToEvent ( KinectInterop, handState, HandEventType lastEventType ) : HandEventType

Method Details

GetCursorPosition() public method

public GetCursorPosition ( ) : Vector3
return Vector3

GetLastLeftHandEvent() public method

public GetLastLeftHandEvent ( ) : HandEventType
return HandEventType

GetLastRightHandEvent() public method

public GetLastRightHandEvent ( ) : HandEventType
return HandEventType

GetLeftHandClickProgress() public method

public GetLeftHandClickProgress ( ) : float
return float

GetLeftHandEvent() public method

public GetLeftHandEvent ( ) : HandEventType
return HandEventType

GetLeftHandScreenPos() public method

public GetLeftHandScreenPos ( ) : Vector3
return Vector3

GetRightHandClickProgress() public method

public GetRightHandClickProgress ( ) : float
return float

GetRightHandEvent() public method

public GetRightHandEvent ( ) : HandEventType
return HandEventType

GetRightHandScreenPos() public method

public GetRightHandScreenPos ( ) : Vector3
return Vector3

GetUserID() public method

public GetUserID ( ) : long
return long

IsInteractionInited() public method

public IsInteractionInited ( ) : bool
return bool

IsLeftHandClickDetected() public method

public IsLeftHandClickDetected ( ) : bool
return bool

IsLeftHandPress() public method

public IsLeftHandPress ( ) : bool
return bool

IsLeftHandPrimary() public method

public IsLeftHandPrimary ( ) : bool
return bool

IsRightHandClickDetected() public method

public IsRightHandClickDetected ( ) : bool
return bool

IsRightHandPress() public method

public IsRightHandPress ( ) : bool
return bool

IsRightHandPrimary() public method

public IsRightHandPrimary ( ) : bool
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

allowHandClicks public_oe property

public bool allowHandClicks
return bool

controlMouseCursor public_oe property

public bool controlMouseCursor
return bool

controlMouseDrag public_oe property

public bool controlMouseDrag
return bool

debugText public_oe property

public GUIText debugText
return GUIText

gripHandTexture public_oe property

public Texture gripHandTexture
return Texture

normalHandTexture public_oe property

public Texture normalHandTexture
return Texture

playerIndex public_oe property

public int playerIndex
return int

releaseHandTexture public_oe property

public Texture releaseHandTexture
return Texture

smoothFactor public_oe property

public float smoothFactor
return float

useHandCursor public_oe property

public bool useHandCursor
return bool