Function VisualServerSingleton.cameraSetOrthogonal

Sets camera to use orthogonal projection, also known as orthographic projection. Objects remain the same size on the screen no matter how far away they are.

void cameraSetOrthogonal (
  const(RID) camera,
  const(double) size,
  const(double) z_near,
  const(double) z_far
) nothrow @nogc;