Click or drag to resize

Matrix4x4CreatePerspectiveOffCenter Method

Creates a customized, perspective projection matrix.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreatePerspectiveOffCenter(
	double left,
	double right,
	double bottom,
	double top,
	double nearPlaneDistance,
	double farPlaneDistance
)

Parameters

left
Type: SystemDouble
Minimum x-value of the view volume at the near view plane.
right
Type: SystemDouble
Maximum x-value of the view volume at the near view plane.
bottom
Type: SystemDouble
Minimum y-value of the view volume at the near view plane.
top
Type: SystemDouble
Maximum y-value of the view volume at the near view plane.
nearPlaneDistance
Type: SystemDouble
Distance to the near view plane.
farPlaneDistance
Type: SystemDouble
Distance to of the far view plane.

Return Value

Type: Matrix4x4
The perspective projection matrix.
See Also