Samsung Build PC Guia de preparacion Pagina 12

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 41
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 11
12 | A Detailed Look at the Unity Integration | Unity
Two scripts (components) are attached to the OVRPlayerController prefab:
OVRPlayerController.cs
OVRGamepadController.cs
Figure 2: Prefabs: OVRPlayerController, expanded in the inspector
Unity Components
The following section gives a general overview of what each of the scripts within the Scripts folder does.
OVRCameraRig
OVRCameraRig is a component that controls stereo rendering and head tracking. It maintains three child
"anchor" Transforms at the poses of the left and right eyes, as well as a virtual "center" eye that is half-way
between them.
This component is the main interface between Unity and the cameras. This is attached to a prefab that makes it
easy to add VR support to a scene.
Important: All camera control should be done through this component. You should understand this script when
implementing your own camera control mechanism.
Vista de pagina 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 40 41

Comentarios a estos manuales

Sin comentarios