|
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
)
Public Shared Function CreatePerspectiveOffCenter (
left As Double,
right As Double,
bottom As Double,
top As Double,
nearPlaneDistance As Double,
farPlaneDistance As Double
) As Matrix4x4
public:
static Matrix4x4 CreatePerspectiveOffCenter(
double left,
double right,
double bottom,
double top,
double nearPlaneDistance,
double farPlaneDistance
)
static member CreatePerspectiveOffCenter :
left : float *
right : float *
bottom : float *
top : float *
nearPlaneDistance : float *
farPlaneDistance : float -> Matrix4x4
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:
Matrix4x4The perspective projection matrix.
See Also