Bagikan melalui


Matrix4x4.CreateOrthographicOffCenter Metode

Definisi

Membuat matriks proyeksi ortografis yang disesuaikan.

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

Parameter

left
Single

Nilai X minimum dari volume tampilan.

right
Single

Nilai X maksimum dari volume tampilan.

bottom
Single

Nilai Y minimum volume tampilan.

top
Single

Nilai Y maksimum volume tampilan.

zNearPlane
Single

Nilai Z minimum dari volume tampilan.

zFarPlane
Single

Nilai Z maksimum dari volume tampilan.

Mengembalikan

Matriks proyeksi ortografi.

Berlaku untuk