'Declaration Public Shared Function LookAt( _ ByVal cameraPosition As Vector3, _ ByVal cameraTarget As Vector3, _ ByVal cameraUpVector As Vector3 _ ) As Matrix4x4
public static Matrix4x4 LookAt( Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector )
Parameters
- cameraPosition
- The position of the camera.
- cameraTarget
- The target towards which the camera is pointing.
- cameraUpVector
- The direction that is "up" from the camera's point of view.
Return Value
The view matrix.