Camera.setOrthogonal

Sets the camera projection to orthogonal mode (see constant PROJECTION_ORTHOGONAL), by specifying a size, and the z_near and z_far clip planes in world space 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