Camera.SetOrthographicMode

Camera.SetOrthographicMode method

Configures this Camera to use Orthographic projection.

public void SetOrthographicMode(float xmag, float ymag, float znear, float zfar)
ParameterTypeDescription
xmagSingleMagnification in the X axis.
ymagSingleMagnification in the Y axis.
znearSingleDistance to the near pane in the Z axis.
zfarSingleDistance to the far plane in the Z axis.

See Also