Tesla Graphics Engine Documentation (January 2012)
CreateViewMatrix Method (position, target, up, result)
TeslaTesla.MathMatrixCreateViewMatrix(Vector3%, Vector3%, Vector3%, Matrix%)
Creates a view matrix with specified eye position, a target, and the up vector in the world.
Declaration Syntax
C#
public static void CreateViewMatrix(
	ref Vector3 position,
	ref Vector3 target,
	ref Vector3 up,
	out Matrix result
)
Parameters
position (Vector3%)
Position of the camera
target (Vector3%)
Camera's target
up (Vector3%)
Up vector of camera
result (Matrix%)
Existing matrix to hold result

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)