Bewerken

Delen via


Matrix4.CreateOrthographicOffCenter Method

Definition

Overloads

CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single)
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix4)

Creates an orthographic projection matrix.

CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single)

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

Parameters

left
Single
right
Single
bottom
Single
top
Single
zNear
Single
zFar
Single

Returns

Applies to

CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix4)

Creates an orthographic projection matrix.

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

Parameters

left
Single

The left edge of the projection volume.

right
Single

The right edge of the projection volume.

bottom
Single

The bottom edge of the projection volume.

top
Single

The top edge of the projection volume.

zNear
Single

The near edge of the projection volume.

zFar
Single

The far edge of the projection volume.

result
Matrix4

The resulting Matrix4 instance.

Applies to