Since

2020.1

Hierarchy

  • PinholePanoramicImageProjection

Properties

Properties

horizontalFOV?: number

The horizontal field-of-view of the pinhole projection, in degrees. Defaults to 90. You can derive a horizontal FOV from a vertical FOV, using the aspect ratio of the image (width/height) as follows:

  const horizontalFOV = 2 * Math.atan(Math.tan( verticalFOV / 2) * (width / height))

See https://en.wikipedia.org/wiki/Field_of_view_in_video_games for more details.

type: PINHOLE

The type of the projection: PanoramicImageProjectionType.PINHOLE