共用方式為


Matrix4x4.CreateLookAtLeftHanded(Vector3, Vector3, Vector3) 方法

定義

建立左側檢視矩陣。

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

參數

cameraPosition
Vector3

相機的位置。

cameraTarget
Vector3

相機指向的目標。

cameraUpVector
Vector3

從相機的觀點來看為「向上」的方向。

傳回

左側檢視矩陣。

適用於