Bagikan melalui


Matrix4x4.CreateOrthographic(Single, Single, Single, Single) Metode

Definisi

Membuat matriks perspektif ortografis dari dimensi volume tampilan yang diberikan.

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

Parameter

width
Single

Lebar volume tampilan.

height
Single

Tinggi volume tampilan.

zNearPlane
Single

Nilai Z minimum dari volume tampilan.

zFarPlane
Single

Nilai Z maksimum dari volume tampilan.

Mengembalikan

Matriks proyeksi ortografi.

Berlaku untuk