|
Matrix4x4CreateOrthographicOffCenter Method
|
Builds a customized, orthographic projection matrix.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix4x4 CreateOrthographicOffCenter(
double left,
double right,
double bottom,
double top,
double zNearPlane,
double zFarPlane
)
Public Shared Function CreateOrthographicOffCenter (
left As Double,
right As Double,
bottom As Double,
top As Double,
zNearPlane As Double,
zFarPlane As Double
) As Matrix4x4
public:
static Matrix4x4 CreateOrthographicOffCenter(
double left,
double right,
double bottom,
double top,
double zNearPlane,
double zFarPlane
)
static member CreateOrthographicOffCenter :
left : float *
right : float *
bottom : float *
top : float *
zNearPlane : float *
zFarPlane : float -> Matrix4x4
Parameters
- left
- Type: SystemDouble
Minimum X-value of the view volume. - right
- Type: SystemDouble
Maximum X-value of the view volume. - bottom
- Type: SystemDouble
Minimum Y-value of the view volume. - top
- Type: SystemDouble
Maximum Y-value of the view volume. - zNearPlane
- Type: SystemDouble
Minimum Z-value of the view volume. - zFarPlane
- Type: SystemDouble
Maximum Z-value of the view volume.
Return Value
Type:
Matrix4x4The orthographic projection matrix.
See Also