Пример #1
0
        void Update()
        {
            DisplayParameters newDisplay = DisplayParameters.Collect();

            UpdateView(HmdParameters.Instance, newDisplay);
            _hmdParamsDirty = false;
            _display        = newDisplay;
        }
Пример #2
0
 void OnRenderImage(RenderTexture source, RenderTexture destination)
 {
     UpdateView(HmdParameters.Instance, DisplayParameters.Collect());
     Graphics.Blit(RenderTexture, destination, EyeMaterial);
 }