文档

Unity Engine

Unity Engine

ResetFieldOfView()

Reset to the default field of view.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. Camera.ResetFieldOfView has been deprecated in Unity 5.6 and will be removed in the future. Please replace it by explicitly setting the camera's FOV to 60 degrees.
public void ResetFieldOfView()

Remarks

Call this to end the effect of setting Camera.fieldOfView. Default field of view may be set dynamically by VR devices.