C# Class PSMoveManager, psmove-unity5

Inheritance: MonoBehaviour
ファイルを表示 Open project: HipsterSloth/psmove-unity5 Class Usage Examples

Public Properties

Property Type Description
EmitHitchLogging bool
FilterType PSMove_PositionFilter_Type
InitialTrackingColor PSMoveTrackingColor
PSMoveOffset Vector3
TrackerEnabled bool
UseManualExposure bool

Public Methods

Method Description
AcquirePSMove ( int PSMoveID ) : PSMoveDataContext,
AlignToCenterEye ( Transform controller, Transform riftCam ) : void

If manual offset is set, removes it. Otherwise, sets the manual PSMoveOffset of the manager by assuming this controller is held in front of the HMD.

Awake ( ) : void
GetManagerInstance ( ) : PSMoveManager,
OnApplicationQuit ( ) : void
ReleasePSMove ( PSMoveDataContext, DataContext ) : void
Update ( ) : void

Method Details

AcquirePSMove() public method

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

AlignToCenterEye() public method

If manual offset is set, removes it. Otherwise, sets the manual PSMoveOffset of the manager by assuming this controller is held in front of the HMD.
public AlignToCenterEye ( Transform controller, Transform riftCam ) : void
controller Transform Controller transform used for centering.
riftCam Transform Transform of HMD/Main Camera
return void

Awake() public method

public Awake ( ) : void
return void

GetManagerInstance() public static method

public static GetManagerInstance ( ) : PSMoveManager,
return PSMoveManager,

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

ReleasePSMove() public method

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

Update() public method

public Update ( ) : void
return void

Property Details

EmitHitchLogging public_oe property

public bool EmitHitchLogging
return bool

FilterType public_oe property

public PSMove_PositionFilter_Type FilterType
return PSMove_PositionFilter_Type

InitialTrackingColor public_oe property

public PSMoveTrackingColor InitialTrackingColor
return PSMoveTrackingColor

PSMoveOffset public_oe property

public Vector3 PSMoveOffset
return Vector3

TrackerEnabled public_oe property

public bool TrackerEnabled
return bool

UseManualExposure public_oe property

public bool UseManualExposure
return bool