C# Class PSMoveWorker, psmove-unity5

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

Public Properties

Property Type Description
MAX_CONTROLLERS int
WorkerSettings PSMoveWorkerSettings,

Public Methods

Method Description
AcquirePSMove ( int PSMoveID ) : PSMoveDataContext,
GetWorkerInstance ( ) : PSMoveWorker,
OnGameEnded ( ) : void
OnGameStarted ( PSMoveWorkerSettings, workerSettings ) : void
ReleasePSMove ( PSMoveDataContext, DataContext ) : void
ThreadSetup ( ) : void
ThreadTeardown ( ) : void
ThreadUpdate ( ) : void

Private Methods

Method Description
ControllerUpdateButtonState ( IntPtr psmove, PSMoveRawControllerData_Base, controllerData ) : void
ControllerUpdateOrientations ( IntPtr psmove, PSMoveRawControllerData_Base, controllerData ) : void
ControllerUpdatePositions ( PSMoveWorkerSettings, WorkerSettings, IntPtr psmove_trackers, IntPtr psmove_fusions, int tracker_count, IntPtr position_filter, IntPtr psmove, PSMoveRawControllerData_Base, controllerData ) : void
ControllerUpdateSensors ( IntPtr psmove, PSMoveRawControllerData_Base, controllerData ) : void
FreeLibrary ( IntPtr hModule ) : bool
LoadLib ( string path ) : IntPtr
LoadLibrary ( string libname ) : IntPtr
PSMoveWorker ( ) : UnityEngine
ThreadProc ( ) : void
WorkerContextIsTrackingSetup ( WorkerContext, context ) : bool
WorkerContextSetupTracking ( PSMoveWorkerSettings, WorkerSettings, WorkerContext, context ) : bool
WorkerContextTeardown ( WorkerContext, context ) : void
WorkerContextTeardownTracking ( WorkerContext, context ) : void
WorkerContextUpdateControllerConnections ( WorkerContext, context ) : bool
WorkerSetup ( PSMoveWorkerSettings, workerSettings ) : void
WorkerTeardown ( ) : void

Method Details

AcquirePSMove() public method

public AcquirePSMove ( int PSMoveID ) : PSMoveDataContext,
PSMoveID int
return PSMoveDataContext,

GetWorkerInstance() public static method

public static GetWorkerInstance ( ) : PSMoveWorker,
return PSMoveWorker,

OnGameEnded() public method

public OnGameEnded ( ) : void
return void

OnGameStarted() public method

public OnGameStarted ( PSMoveWorkerSettings, workerSettings ) : void
workerSettings PSMoveWorkerSettings,
return void

ReleasePSMove() public method

public ReleasePSMove ( PSMoveDataContext, DataContext ) : void
DataContext PSMoveDataContext,
return void

ThreadSetup() public method

public ThreadSetup ( ) : void
return void

ThreadTeardown() public method

public ThreadTeardown ( ) : void
return void

ThreadUpdate() public method

public ThreadUpdate ( ) : void
return void

Property Details

MAX_CONTROLLERS public_oe static_oe property

public static int MAX_CONTROLLERS
return int

WorkerSettings public_oe property

public PSMoveWorkerSettings, WorkerSettings
return PSMoveWorkerSettings,