C# Class Gvr.Internal.GvrDevice

Inheritance: BaseAndroidDeviceBaseVRDevice
Show file Open project: omgwtfgames/unity-cardboard-photosphere

Protected Properties

Property Type Description
debugDisableNativeProjections bool
debugDisableNativeUILayer bool

Public Methods

Method Description
Init ( ) : void
OnApplicationQuit ( ) : void
OnPause ( bool pause ) : void
PostRender ( RenderTexture stereoScreen ) : void
Recenter ( ) : void
SetDefaultDeviceProfile ( System uri ) : bool
SetDistortionCorrectionEnabled ( bool enabled ) : void
SetElectronicDisplayStabilizationEnabled ( bool enabled ) : void
SetNeckModelScale ( float scale ) : void
UpdateScreenData ( ) : void
UpdateState ( ) : void

Protected Methods

Method Description
ProcessEvents ( ) : void

Private Methods

Method Description
EnableDistortionCorrection ( bool enable ) : void
EnableElectronicDisplayStabilization ( bool enable ) : void
ExtractMatrix ( Matrix4x4 &mat, float data, int i ) : int
GetEventFlags ( ) : int
GetHeadPose ( float pose ) : void
GetProfile ( float profile ) : void
GetViewParameters ( float viewParams ) : void
Pause ( ) : void
ResetHeadTracker ( ) : void
Resume ( ) : void
SetDefaultProfile ( byte uri, int size ) : bool
SetNeckModelFactor ( float factor ) : void
SetTextureId ( int id ) : void
SetUnityVersion ( byte version_str, int version_length ) : void
Start ( ) : void
Stop ( ) : void
UpdateProfile ( ) : void
UpdateView ( ) : void

Method Details

Init() public method

public Init ( ) : void
return void

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

OnPause() public method

public OnPause ( bool pause ) : void
pause bool
return void

PostRender() public method

public PostRender ( RenderTexture stereoScreen ) : void
stereoScreen UnityEngine.RenderTexture
return void

ProcessEvents() protected method

protected ProcessEvents ( ) : void
return void

Recenter() public method

public Recenter ( ) : void
return void

SetDefaultDeviceProfile() public method

public SetDefaultDeviceProfile ( System uri ) : bool
uri System
return bool

SetDistortionCorrectionEnabled() public method

public SetDistortionCorrectionEnabled ( bool enabled ) : void
enabled bool
return void

SetElectronicDisplayStabilizationEnabled() public method

public SetElectronicDisplayStabilizationEnabled ( bool enabled ) : void
enabled bool
return void

SetNeckModelScale() public method

public SetNeckModelScale ( float scale ) : void
scale float
return void

UpdateScreenData() public method

public UpdateScreenData ( ) : void
return void

UpdateState() public method

public UpdateState ( ) : void
return void

Property Details

debugDisableNativeProjections protected property

protected bool debugDisableNativeProjections
return bool

debugDisableNativeUILayer protected property

protected bool debugDisableNativeUILayer
return bool