Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetStereoViewMatrices()

Reset the camera to using the Unity computed view matrices for all stereoscopic eyes.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void ResetStereoViewMatrices()

Remarks

If you set custom view matrices with Camera.SetStereoViewMatrix, this method reverts the camera back to using view matrices provided by the XRDisplaySubsystem.