Matrix4x4::CreateLookAt Method
Creates a view matrix.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
public: static Matrix4x4 CreateLookAt( Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector )
Parameters
- cameraPosition
- Type: System.Numerics::Vector3
The position of the camera.
- cameraTarget
- Type: System.Numerics::Vector3
The target towards which the camera is pointing.
- cameraUpVector
- Type: System.Numerics::Vector3
The direction that is "up" from the camera's point of view.
Show: