Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetGateFittedFieldOfView()

Retrieves the effective vertical field of view of the camera, including GateFit. Fitting the sensor gate and the resolution gate has an impact on the final field of view. If the sensor gate aspect ratio is the same as the resolution gate aspect ratio or if the camera is not in physical mode, then this method returns the same value as the fieldofview property.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float GetGateFittedFieldOfView()

Returns

Type

Description

floatReturns the effective vertical field of view.