C# Класс OVRSceneSampleController

Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
fadeInTexture Texture
layerName string
quitKey KeyCode,
speedRotationIncrement float

Открытые методы

Метод Описание
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.

Описание методов

Awake() публичный Метод

Awake this instance.
public Awake ( ) : void
Результат void

Start() публичный Метод

Start this instance.
public Start ( ) : void
Результат void

Update() публичный Метод

Update this instance.
public Update ( ) : void
Результат void

UpdateRecenterPose() публичный Метод

Recenter pose
public UpdateRecenterPose ( ) : void
Результат void

UpdateSpeedAndRotationScaleMultiplier() публичный Метод

Updates the speed and rotation scale multiplier.
public UpdateSpeedAndRotationScaleMultiplier ( ) : void
Результат void

UpdateVisionMode() публичный Метод

Updates the vision mode.
public UpdateVisionMode ( ) : void
Результат void

Описание свойств

fadeInTexture публичное свойство

An optional texture that appears before the menu fades in.
public Texture fadeInTexture
Результат Texture

layerName публичное свойство

We can set the layer to be anything we want to, this allows a specific camera to render it.
public string layerName
Результат string

quitKey публичное свойство

The key that quits the application.
public KeyCode, quitKey
Результат KeyCode,

speedRotationIncrement публичное свойство

Controls how quickly the player's speed and rotation change based on input.
public float speedRotationIncrement
Результат float