Function 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.

void setFrustum (
  const(double) size,
  const(Vector2) offset,
  const(double) z_near,
  const(double) z_far
) nothrow @nogc;