共用方式為


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

定義

從指定的檢視磁碟區維度建立左手的正視透視矩陣。

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

參數

width
Single

視圖體的寬度。

height
Single

視圖體的高度。

zNearPlane
Single

視圖體最小的 Z 值。

zFarPlane
Single

視圖體最大的 Z 值。

傳回

左手投影矩陣。

適用於