Camera.fov

The camera's field of view angle (in degrees). Only applicable in perspective mode. Since keepAspect locks one axis, fov sets the other axis' field of view angle. For reference, the default vertical field of view value (70.0) is equivalent to a horizontal FOV of: - ~86.07 degrees in a 4:3 viewport - ~96.50 degrees in a 16:10 viewport - ~102.45 degrees in a 16:9 viewport - ~117.06 degrees in a 21:9 viewport

  1. double fov [@property getter]
    struct Camera
    @nogc nothrow @property
    double
    fov
    ()
  2. double fov [@property setter]

Meta