ComponentOne Bitmap for UWP
LookAtRef Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : LookAtRef Method
The view matrix.
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 Sub LookAtRef( _
   ByRef result As Matrix4x4, _
   ByRef cameraPosition As Vector3, _
   ByRef cameraTarget As Vector3, _
   ByRef cameraUpVector As Vector3 _
) 
public static void LookAtRef( 
   out Matrix4x4 result,
   ref Vector3 cameraPosition,
   ref Vector3 cameraTarget,
   ref Vector3 cameraUpVector
)

Parameters

result
The view matrix.
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.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members