C# Class OVRManager

Configuration data for Oculus virtual reality.
Inheritance: MonoBehaviour
Show file Open project: FIU-SCIS-Senior-Projects/UrbanTheater Class Usage Examples

Public Properties

Property Type Description
queueAhead bool
resetTrackerOnLoad bool
usePositionTracking bool

Public Methods

Method Description
DismissHSWDisplay ( ) : void

If the HSW has been visible for the necessary amount of time, this will make it disappear.

PlatformUIConfirmQuit ( ) : void
PlatformUIGlobalMenu ( ) : void
ReturnToLauncher ( ) : void

Leaves the application/game and returns to the launcher/dashboard

Private Methods

Method Description
Awake ( ) : void
InitVolumeController ( ) : void

Creates a popup dialog that shows when volume changes.

OnEnable ( ) : void
Update ( ) : void

Method Details

DismissHSWDisplay() public static method

If the HSW has been visible for the necessary amount of time, this will make it disappear.
public static DismissHSWDisplay ( ) : void
return void

PlatformUIConfirmQuit() public static method

public static PlatformUIConfirmQuit ( ) : void
return void

PlatformUIGlobalMenu() public static method

public static PlatformUIGlobalMenu ( ) : void
return void

ReturnToLauncher() public method

Leaves the application/game and returns to the launcher/dashboard
public ReturnToLauncher ( ) : void
return void

Property Details

queueAhead public property

If true, distortion rendering work is submitted a quarter-frame early to avoid pipeline stalls and increase CPU-GPU parallelism.
public bool queueAhead
return bool

resetTrackerOnLoad public property

If true, each scene load will cause the head pose to reset.
public bool resetTrackerOnLoad
return bool

usePositionTracking public property

If true, head tracking will affect the orientation of each OVRCameraRig's cameras.
public bool usePositionTracking
return bool