Matrix4x4.CreateLookToLeftHanded(Vector3, Vector3, Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a left-handed view matrix.
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
Parameters
- cameraPosition
- Vector3
The position of the camera.
- cameraDirection
- Vector3
The direction in 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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.