แก้ไข

แชร์ผ่าน


Matrix4x4.CreateLookAtLeftHanded(Vector3, Vector3, Vector3) Method

Definition

Creates a left-handed view matrix.

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

Parameters

cameraPosition
Vector3

The position of the camera.

cameraTarget
Vector3

The target towards which the camera is pointing.

cameraUpVector
Vector3

The direction that is "up" from the camera's point of view.

Returns

The left-handed view matrix.

Applies to