Camera.setPerspective

Sets the camera projection to perspective mode, by specifying a FOV Y angle in degrees (FOV means Field of View), and the near and far clip planes in worldspace units.

struct Camera
@nogc nothrow
void
setPerspective
(
in double fov
,
in double z_near
,
in double z_far
)

Meta