Click or drag to resize

Matrix44CreateLookAt(Vector3, Vector3, Vector3) Method

Creates a new viewing Matrix44.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static Matrix44 CreateLookAt(
	Vector3 cameraPosition,
	Vector3 cameraTarget,
	Vector3 cameraUpVector
)

Parameters

cameraPosition  Vector3
Position of the camera.
cameraTarget  Vector3
Lookup vector of the camera.
cameraUpVector  Vector3
The direction of the upper edge of the camera.

Return Value

Matrix44
The viewing Matrix44.
See Also