|
Matrix4x4CreateOrthographic Method
|
Creates an orthographic perspective matrix from the given view volume dimensions.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix4x4 CreateOrthographic(
double width,
double height,
double zNearPlane,
double zFarPlane
)
Public Shared Function CreateOrthographic (
width As Double,
height As Double,
zNearPlane As Double,
zFarPlane As Double
) As Matrix4x4
public:
static Matrix4x4 CreateOrthographic(
double width,
double height,
double zNearPlane,
double zFarPlane
)
static member CreateOrthographic :
width : float *
height : float *
zNearPlane : float *
zFarPlane : float -> Matrix4x4
Parameters
- width
- Type: SystemDouble
Width of the view volume. - height
- Type: SystemDouble
Height 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