Matrix4x4.CreateLookToLeftHanded(Vector3, Vector3, Vector3) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立左側檢視矩陣。
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
參數
- cameraPosition
- Vector3
相機的位置。
- cameraDirection
- Vector3
相機指向的方向。
- cameraUpVector
- Vector3
從相機的觀點來看為「向上」的方向。
傳回
左側檢視矩陣。