C# Class PSEyeTexture, StereoAR-for-Unity

Inheritance: IDisposable
Mostra file Open project: hecomi/StereoAR-for-Unity Class Usage Examples

Private Properties

Property Type Description
CLEyeCameraGetFrame bool
CLEyeCameraGetFrameDimensions bool
CLEyeCameraLED bool
CLEyeCameraStart bool
CLEyeCameraStop bool
CLEyeCreateCamera IntPtr
CLEyeDestroyCamera bool
CLEyeGetCameraCount int
CLEyeGetCameraParameter int
CLEyeGetCameraUUID System.Guid
CLEyeSetCameraParameter bool
CameraUUID System.Guid
ThreadWorker void
_ThreadWorker void

Public Methods

Method Description
Dispose ( ) : void
GetPixels32 ( Color32 pixels ) : void
IsGaming ( ) : bool
PSEyeTexture ( int camera_number, int frame_rate, bool is_reverse = false ) : System
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Private Methods

Method Description
CLEyeCameraGetFrame ( IntPtr camera, IntPtr pData, int waitTimeout ) : bool
CLEyeCameraGetFrameDimensions ( IntPtr camera, int &width, int &height ) : bool
CLEyeCameraLED ( IntPtr camera, bool on ) : bool
CLEyeCameraStart ( IntPtr camera ) : bool
CLEyeCameraStop ( IntPtr camera ) : bool
CLEyeCreateCamera ( System.Guid camUUID, CLEyeCameraColorMode mode, CLEyeCameraResolution res, float frameRate ) : IntPtr
CLEyeDestroyCamera ( IntPtr camera ) : bool
CLEyeGetCameraCount ( ) : int
CLEyeGetCameraParameter ( IntPtr camera, CLEyeCameraParameter param ) : int
CLEyeGetCameraUUID ( int camId ) : System.Guid
CLEyeSetCameraParameter ( IntPtr camera, CLEyeCameraParameter param, int value ) : bool
CameraUUID ( int idx ) : System.Guid
ThreadWorker ( ) : void
_ThreadWorker ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetPixels32() public method

public GetPixels32 ( Color32 pixels ) : void
pixels UnityEngine.Color32
return void

IsGaming() public method

public IsGaming ( ) : bool
return bool

PSEyeTexture() public method

public PSEyeTexture ( int camera_number, int frame_rate, bool is_reverse = false ) : System
camera_number int
frame_rate int
is_reverse bool
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( ) : void
return void