Method | Description | |
---|---|---|
Controller ( int pointingHand ) : System |
constructor of the controller class
|
|
getPointer ( ) : Vector2 |
return vector2 containing the value indcating the angle between the z axies and the pointing hand.
|
|
getShoulderDiff ( ) : float |
return the difference btween z coord. of the left and the right shoulders.
|
|
getShoulderLeft ( ) : bool |
return the z coord. of the left shoulder.
|
|
getShoulderRight ( ) : bool |
return the z coord. of the right shoulder.
|
|
isActive ( int gesture ) : System.Boolean |
return boolean indicating the state of the gesture.
|
Method | Description | |
---|---|---|
initiGestureManager ( ) : void |
initilize gesture that will be used.
|
|
updateContollerState ( ) : void |
update controller state.
|
public Controller ( int pointingHand ) : System | ||
pointingHand | int | to indicate the pointing hand (left/right) |
return | System |
public isActive ( int gesture ) : System.Boolean | ||
gesture | int | the number coresspond to a specific gesture |
return | System.Boolean |