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

適用於