C# Class OVRSceneController

Sample that allows you to play with various VR settings.
Inheritance: MonoBehaviour
Show file Open project: FIU-SCIS-Senior-Projects/UrbanTheater

Public Properties

Property Type Description
fadeInTexture Texture
layerName string
quitKey KeyCode,
speedRotationIncrement float

Public Methods

Method Description
Awake ( ) : void

Awake this instance.

Start ( ) : void

Start this instance.

Update ( ) : void

Update this instance.

UpdateRecenterPose ( ) : void

Recenter pose

UpdateSpeedAndRotationScaleMultiplier ( ) : void

Updates the speed and rotation scale multiplier.

UpdateVisionMode ( ) : void

Updates the vision mode.

Method Details

Awake() public method

Awake this instance.
public Awake ( ) : void
return void

Start() public method

Start this instance.
public Start ( ) : void
return void

Update() public method

Update this instance.
public Update ( ) : void
return void

UpdateRecenterPose() public method

Recenter pose
public UpdateRecenterPose ( ) : void
return void

UpdateSpeedAndRotationScaleMultiplier() public method

Updates the speed and rotation scale multiplier.
public UpdateSpeedAndRotationScaleMultiplier ( ) : void
return void

UpdateVisionMode() public method

Updates the vision mode.
public UpdateVisionMode ( ) : void
return void

Property Details

fadeInTexture public property

An optional texture that appears before the menu fades in.
public Texture fadeInTexture
return Texture

layerName public property

We can set the layer to be anything we want to, this allows a specific camera to render it.
public string layerName
return string

quitKey public property

The key that quits the application.
public KeyCode, quitKey
return KeyCode,

speedRotationIncrement public property

Controls how quickly the player's speed and rotation change based on input.
public float speedRotationIncrement
return float