C# Class PSMoveController, psmove-unity5

Inheritance: MonoBehaviour
Mostrar archivo Open project: HipsterSloth/psmove-unity5 Class Usage Examples

Public Properties

Property Type Description
PSMoveID int
ShowHMDFrustumDebug bool
ShowTrackingDebug bool

Public Methods

Method Description
CycleTrackingColor ( ) : void
OnDestroy ( ) : void
ResetYaw ( ) : void
SetRumble ( float rumble ) : void

Sets the amount of rumble

Start ( ) : void

NOTE! This function does NOT pair the controller by Bluetooth. If the controller is not already paired, it can only be connected by USB. See README for more information.

Update ( ) : void

Method Details

CycleTrackingColor() public method

public CycleTrackingColor ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

ResetYaw() public method

public ResetYaw ( ) : void
return void

SetRumble() public method

Sets the amount of rumble
public SetRumble ( float rumble ) : void
rumble float the rumble amount (0-1)
return void

Start() public method

NOTE! This function does NOT pair the controller by Bluetooth. If the controller is not already paired, it can only be connected by USB. See README for more information.
public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

PSMoveID public_oe property

public int PSMoveID
return int

ShowHMDFrustumDebug public_oe property

public bool ShowHMDFrustumDebug
return bool

ShowTrackingDebug public_oe property

public bool ShowTrackingDebug
return bool