setFieldOfView

fun setFieldOfView(angle: Double, distortionRatio: Double = 1.0)

Sets the field of view on the scene view in degrees and determines how much the vertical field of view is distorted.

A distortion ratio less than 1.0 will cause the visuals to be stretched taller in comparison to their width. A distortion ratio greater than 1.0 will cause the visuals to be shrunk shorter in comparison to their width.

The default distortion ratio is 1.0.

Since

200.4.0

Parameters

angle

the field of view on the scene view in degrees. This value must be greater than 0 and less than or equal to 120

distortionRatio

the field of view vertical distortion ratio. This value must be between 0.1 and 10