This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Unity 1.31 Reference Guide

OVRSceneSampleController Class Reference

Sample that allows you to play with various VR settings.
MonoBehaviour inherited by OVRSceneSampleController.

Data Fields

KeyCode
quitKey ( )
The key that quits the application.
Texture
An optional texture that appears before the menu fades in.
float
Controls how quickly the player's speed and rotation change based on input.
string
We can set the layer to be anything we want to, this allows a specific camera to render it.

Private Member Functions

void
Awake ( )
Awake this instance.
void
Start ( )
Start this instance.
void
Update ( )
Update this instance.
void
Updates the vision mode.
void
Updates the speed and rotation scale multiplier.
void
Recenter pose

Field Documentation

KeyCode OVRSceneSampleController.quitKey ( )
The key that quits the application.
Texture OVRSceneSampleController.fadeInTexture ( )
An optional texture that appears before the menu fades in.
float OVRSceneSampleController.speedRotationIncrement ( )
Controls how quickly the player's speed and rotation change based on input.
string OVRSceneSampleController.layerName ( )
We can set the layer to be anything we want to, this allows a specific camera to render it.

Object Data Documentation

OVRPlayerController OVRSceneSampleController.playerController ( )
OVRCameraRig OVRSceneSampleController.cameraController ( )
bool OVRSceneSampleController.visionMode ( )
OVRGridCube OVRSceneSampleController.gridCube ( )

Object Data Documentation

void OVRSceneSampleController.Awake ( )
Awake this instance.
void OVRSceneSampleController.Start ( )
Start this instance.
void OVRSceneSampleController.Update ( )
Update this instance.
void OVRSceneSampleController.UpdateVisionMode ( )
Updates the vision mode.
void OVRSceneSampleController.UpdateSpeedAndRotationScaleMultiplier ( )
Updates the speed and rotation scale multiplier.
void OVRSceneSampleController.UpdateRecenterPose ( )
Recenter pose
The documentation for this class was generated from the following file: Oculus/VR/Scripts/Util/OVRSceneSampleController.cs