C# Класс OVRDebugHeadController

This is a simple behavior that can be attached to a parent of the CameraRig in order to provide movement via the gamepad. This is useful when testing an application in the Unity editor without the Head-Mounted Tracker. To use it, create a game object in your scene and drag your CameraRig to be a child of the game object. Then, add the OVRDebugHeadController behavior to the game object. You must also have an OVRGamepadController somewhere in your scene. Alternatively, this behavior can be placed directly on the OVRCameraRig object, but that is not guaranteed to work if OVRCameraRig functionality changes in the future. In the parent case, the object with OVRDebugHeadController can be thougt of as a platform that your camera is attached to. When the platform moves or rotates, the camera moves or rotates, but the camera can still move independently while "on" the platform. In general, this behavior should be disabled when not debugging.
Наследование: MonoBehaviour
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
CameraRig OVRCameraRig,

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

Метод Описание
Awake ( ) : void
Start ( ) : void
Update ( ) : void

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

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

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

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

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

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

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

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

CameraRig защищенное свойство

protected OVRCameraRig, CameraRig
Результат OVRCameraRig,