Method GetHorizontalFieldOfView
GetHorizontalFieldOfView(Camera)
Calculates the horizontal field of view of the Camera.
Declaration
public static float GetHorizontalFieldOfView(this Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | The camera to get the aspect ratio and vertical field of view from. |
Returns
| Type | Description |
|---|---|
| float | The horizontal field of view of the camera. |