Modifier

Partager via


Matrix4d.CreateOrthographic Method

Definition

Overloads

CreateOrthographic(Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

CreateOrthographic(Double, Double, Double, Double)

CreateOrthographic(Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

public static void CreateOrthographic (double width, double height, double zNear, double zFar, out OpenTK.Matrix4d result);
static member CreateOrthographic : double * double * double * double *  -> unit

Parameters

width
Double

The width of the projection volume.

height
Double

The height 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

CreateOrthographic(Double, Double, Double, Double)

public static OpenTK.Matrix4d CreateOrthographic (double width, double height, double zNear, double zFar);
static member CreateOrthographic : double * double * double * double -> OpenTK.Matrix4d

Parameters

width
Double
height
Double
zNear
Double
zFar
Double

Returns

Applies to