Udostępnij za pośrednictwem


Matrix4x4.CreateLookAtLeftHanded(Vector3, Vector3, Vector3) Metoda

Definicja

Tworzy macierz widoku po lewej stronie.

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

Parametry

cameraPosition
Vector3

Położenie aparatu.

cameraTarget
Vector3

Cel, do którego wskazuje kamera.

cameraUpVector
Vector3

Kierunek "w górę" z punktu widzenia kamery.

Zwraca

Macierz widoku po lewej stronie.

Dotyczy