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 值。

返回

正交投影矩阵。

适用于