C# Class PSMoveManager, psmove-unity5

Inheritance: MonoBehaviour
Afficher le fichier Open project: HipsterSloth/psmove-unity5 Class Usage Examples

Méthodes publiques

Свойство Type Description
EmitHitchLogging bool
FilterType PSMove_PositionFilter_Type
InitialTrackingColor PSMoveTrackingColor
PSMoveOffset Vector3
TrackerEnabled bool
UseManualExposure bool

Méthodes publiques

Méthode 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 méthode

public AcquirePSMove ( int PSMoveID ) : PSMoveDataContext,
PSMoveID int
Résultat PSMoveDataContext,

AlignToCenterEye() public méthode

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
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

GetManagerInstance() public static méthode

public static GetManagerInstance ( ) : PSMoveManager,
Résultat PSMoveManager,

OnApplicationQuit() public méthode

public OnApplicationQuit ( ) : void
Résultat void

ReleasePSMove() public méthode

public ReleasePSMove ( PSMoveDataContext, DataContext ) : void
DataContext PSMoveDataContext,
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

EmitHitchLogging public_oe property

public bool EmitHitchLogging
Résultat bool

FilterType public_oe property

public PSMove_PositionFilter_Type FilterType
Résultat PSMove_PositionFilter_Type

InitialTrackingColor public_oe property

public PSMoveTrackingColor InitialTrackingColor
Résultat PSMoveTrackingColor

PSMoveOffset public_oe property

public Vector3 PSMoveOffset
Résultat Vector3

TrackerEnabled public_oe property

public bool TrackerEnabled
Résultat bool

UseManualExposure public_oe property

public bool UseManualExposure
Résultat bool