Matrix4x4.CreateOrthographicOffCenter 方法

定義

建立自訂的正視投影矩陣。

public:
 static System::Numerics::Matrix4x4 CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
public static System.Numerics.Matrix4x4 CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
static member CreateOrthographicOffCenter : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateOrthographicOffCenter (left As Single, right As Single, bottom As Single, top As Single, zNearPlane As Single, zFarPlane As Single) As Matrix4x4

參數

left
Single

視圖體最小的 X 值。

right
Single

視圖體最大的 X 值。

bottom
Single

視圖體最小的 Y 值。

top
Single

視圖體最大的 Y 值。

zNearPlane
Single

視圖體最小的 Z 值。

zFarPlane
Single

視圖體最大的 Z 值。

傳回

正視投影矩陣。

適用於