Edit

Share via


Matrix4d.CreateOrthographicOffCenter Method

Definition

Overloads

CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double)
CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double)

public static OpenTK.Matrix4d CreateOrthographicOffCenter (double left, double right, double bottom, double top, double zNear, double zFar);
static member CreateOrthographicOffCenter : double * double * double * double * double * double -> OpenTK.Matrix4d

Parameters

left
Double
right
Double
bottom
Double
top
Double
zNear
Double
zFar
Double

Returns

Applies to

CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

public static void CreateOrthographicOffCenter (double left, double right, double bottom, double top, double zNear, double zFar, out OpenTK.Matrix4d result);
static member CreateOrthographicOffCenter : double * double * double * double * double * double *  -> unit

Parameters

left
Double

The left edge of the projection volume.

right
Double

The right edge of the projection volume.

bottom
Double

The bottom edge of the projection volume.

top
Double

The top edge of the projection volume.

zNear
Double

The near edge of the projection volume.

zFar
Double

The far edge of the projection volume.

result
Matrix4d

The resulting Matrix4d instance.

Applies to