Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetFieldOfView()

Reset to the default field of view.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
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.