共用方式為


Matrix4.CreateOrthographicOffCenter 方法

定義

多載

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

建立正視投影矩陣。

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

參數

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

傳回

適用於

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

建立正視投影矩陣。

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

參數

left
Single

投影磁片區的左邊緣。

right
Single

投影磁片區的右邊緣。

bottom
Single

投影磁片區的下邊緣。

top
Single

投影磁片區的上邊緣。

zNear
Single

投影磁片區的近邊緣。

zFar
Single

投影磁片區的遠邊緣。

result
Matrix4

產生的 Matrix4 實例。

適用於