Camera.setFrustum

Sets the camera projection to frustum mode (see constant PROJECTION_FRUSTUM), by specifying a size, an offset, and the z_near and z_far clip planes in world space units.

struct Camera
@nogc nothrow
void
setFrustum
(
in double size
,
in Vector2 offset
,
in double z_near
,
in double z_far
)

Meta