Tesla Graphics Engine Documentation (January 2012)
CreatePerspectiveMatrix Method (left, right, bottom, top, nearPlaneDistance, farPlaneDistance, result)
TeslaTesla.MathMatrixCreatePerspectiveMatrix(Single, Single, Single, Single, Single, Single, Matrix%)
Creates a custom perspective projection matrix.
Declaration Syntax
C#
public static void CreatePerspectiveMatrix(
	float left,
	float right,
	float bottom,
	float top,
	float nearPlaneDistance,
	float farPlaneDistance,
	out Matrix result
)
Parameters
left (Single)
Minimum x value of the view volume at the near view plane
right (Single)
Maximum x value of the view volume at the near view plane
bottom (Single)
Minimum y value of the view volume at the near view plane
top (Single)
Maximum y value of the view volume at the near view plane
nearPlaneDistance (Single)
Distance to the near view plane
farPlaneDistance (Single)
Distance to the far view plane
result (Matrix%)
Existing matrix to hold result

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