Samsung Build PC Guia de Configuração Página 12

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 41
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 40 41

Comentários a estes Manuais

Sem comentários