Function VisualServerSingleton.cameraSetPerspective

Sets camera to use perspective projection. Objects on the screen becomes smaller when they are far away.

void cameraSetPerspective (
  const(RID) camera,
  const(double) fovy_degrees,
  const(double) z_near,
  const(double) z_far
) nothrow @nogc;