setCameraFov abstract method

Future setCameraFov(
  1. double degrees, {
  2. bool horizontal = true,
})

Sets the horizontal field of view (if horizontal is true) or vertical field of view for the currently active camera to degrees. The aspect ratio of the current viewport is used.

Implementation

Future setCameraFov(double degrees, {bool horizontal = true});