ComponentOne Bitmap for UWP
LookAt Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : LookAt Method
The position of the camera.
The target towards which the camera is pointing.
The direction that is "up" from the camera's point of view.
Creates a view matrix.
Syntax
'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.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members