Beispiel #1
0
 void Update()
 {
     if (!initialized)
     {
         return;
     }
     sceneCamera.projectionMatrix = xr.GetCameraIntrinsics();
 }
 void Update()
 {
     transform.position           = xr.GetCameraPosition();
     transform.rotation           = xr.GetCameraRotation();
     sceneCamera.projectionMatrix = xr.GetCameraIntrinsics();
 }