文档

Unity Engine

Unity Engine

ResetStereoProjectionMatrices()

Reset the camera to using the Unity computed projection matrices for all stereoscopic eyes.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

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