Camera.setOrthogonal

Sets the camera projection to orthogonal mode, by specifying a width and the near and far clip planes in worldspace units. (As a hint, 2D games often use this projection, with values specified in pixels)

struct Camera
@nogc nothrow
void
setOrthogonal
(
in double size
,
in double z_near
,
in double z_far
)

Meta