C# Class Cardboard, Navi

Inheritance: MonoBehaviour
Datei anzeigen Open project: vmohan7/Navi Class Usage Examples

Public Properties

Property Type Description
DefaultDeviceProfile Uri
autoUntiltHead bool

Private Properties

Property Type Description
DispatchEvents void
EyeOffset Vector3
EyeRect Rect
EyeView Matrix4x4
InitDevice void
UndistortedProjection Matrix4x4

Public Methods

Method Description
AddCardboardCamera ( ) : void
Awake ( ) : void
Create ( ) : void
EyePose ( Eye, eye ) : Pose3D,
OnApplicationFocus ( bool focus ) : void
OnApplicationPause ( bool pause ) : void
OnApplicationQuit ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnLevelWasLoaded ( int level ) : void
PostRender ( ) : void
Projection ( Eye, eye, Distortion, distortion = Distortion.Distorted ) : Matrix4x4
Recenter ( ) : void
SetTouchCoordinates ( int x, int y ) : void
ShowSettingsDialog ( ) : void
Start ( ) : void
UpdateState ( ) : void
Viewport ( Eye, eye, Distortion, distortion = Distortion.Distorted ) : Rect

Private Methods

Method Description
DispatchEvents ( ) : void
EyeOffset ( Eye, eye ) : Vector3
EyeRect ( Eye, eye ) : Rect
EyeView ( Eye, eye ) : Matrix4x4
InitDevice ( ) : void
UndistortedProjection ( Eye, eye ) : Matrix4x4

Method Details

AddCardboardCamera() public method

public AddCardboardCamera ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

Create() public static method

public static Create ( ) : void
return void

EyePose() public method

public EyePose ( Eye, eye ) : Pose3D,
eye Eye,
return Pose3D,

OnApplicationFocus() public method

public OnApplicationFocus ( bool focus ) : void
focus bool
return void

OnApplicationPause() public method

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

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnLevelWasLoaded() public method

public OnLevelWasLoaded ( int level ) : void
level int
return void

PostRender() public method

public PostRender ( ) : void
return void

Projection() public method

public Projection ( Eye, eye, Distortion, distortion = Distortion.Distorted ) : Matrix4x4
eye Eye,
distortion Distortion,
return Matrix4x4

Recenter() public method

public Recenter ( ) : void
return void

SetTouchCoordinates() public method

public SetTouchCoordinates ( int x, int y ) : void
x int
y int
return void

ShowSettingsDialog() public method

public ShowSettingsDialog ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateState() public method

public UpdateState ( ) : void
return void

Viewport() public method

public Viewport ( Eye, eye, Distortion, distortion = Distortion.Distorted ) : Rect
eye Eye,
distortion Distortion,
return Rect

Property Details

DefaultDeviceProfile public_oe property

public Uri DefaultDeviceProfile
return Uri

autoUntiltHead public_oe property

public bool autoUntiltHead
return bool