Matrix4x4.CreatePerspectiveLeftHanded(Single, Single, Single, Single) 方法

定义

从给定的视图卷维度创建左手透视投影矩阵。

public:
 static System::Numerics::Matrix4x4 CreatePerspectiveLeftHanded(float width, float height, float nearPlaneDistance, float farPlaneDistance);
public static System.Numerics.Matrix4x4 CreatePerspectiveLeftHanded(float width, float height, float nearPlaneDistance, float farPlaneDistance);
static member CreatePerspectiveLeftHanded : single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreatePerspectiveLeftHanded (width As Single, height As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4

参数

width
Single

接近视图平面的视图卷的宽度。

height
Single

接近视图平面的视图卷的高度。

nearPlaneDistance
Single

接近视图平面的距离。

farPlaneDistance
Single

远视图平面的距离。

返回

左手透视投影矩阵。

例外

nearPlaneDistance 小于或等于零。

-或-

farPlaneDistance 小于或等于零。

-或-

nearPlaneDistance 大于或等于 farPlaneDistance

适用于