C# Class OVRSceneSampleController

Inheritance: MonoBehaviour
Exibir arquivo Open project: leapmotion/ImageGrid

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_oe property

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

layerName public_oe 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_oe property

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

speedRotationIncrement public_oe property

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