We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccad22d commit 03f540aCopy full SHA for 03f540a
1 file changed
OSVR-Unity/Assets/OSVRUnity/src/DisplayController.cs
@@ -195,17 +195,22 @@ void OnPreCull()
195
for (uint viewerIndex = 0; viewerIndex < _viewerCount; viewerIndex++)
196
{
197
VRViewer viewer = Viewers[viewerIndex];
198
+
199
+ //update the client
200
+ UpdateClient();
201
202
//update the viewer's head pose
203
viewer.UpdateViewerHeadPose(DisplayConfig.GetViewerPose(viewerIndex));
204
- //have each viewer update its eyes
205
+ //each viewer update its eyes
206
viewer.UpdateEyes();
207
}
208
- // Remember to reenable.
209
+ // Flag that we disabled the camera
210
_disabledCamera = true;
211
212
213
+ //This couroutine is called every frame.
214
IEnumerator EndOfFrame()
215
216
while (true)
0 commit comments