Bagikan melalui


Matrix4x4.CreateLookToLeftHanded(Vector3, Vector3, Vector3) Metode

Definisi

Membuat matriks tampilan sebelah kiri.

public:
 static System::Numerics::Matrix4x4 CreateLookToLeftHanded(System::Numerics::Vector3 cameraPosition, System::Numerics::Vector3 cameraDirection, System::Numerics::Vector3 cameraUpVector);
public static System.Numerics.Matrix4x4 CreateLookToLeftHanded (System.Numerics.Vector3 cameraPosition, System.Numerics.Vector3 cameraDirection, System.Numerics.Vector3 cameraUpVector);
static member CreateLookToLeftHanded : System.Numerics.Vector3 * System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Matrix4x4
Public Shared Function CreateLookToLeftHanded (cameraPosition As Vector3, cameraDirection As Vector3, cameraUpVector As Vector3) As Matrix4x4

Parameter

cameraPosition
Vector3

Posisi kamera.

cameraDirection
Vector3

Arah di mana kamera menunjuk.

cameraUpVector
Vector3

Arah yang "naik" dari sudut pandang kamera.

Mengembalikan

Matriks tampilan sebelah kiri.

Berlaku untuk