Creates an orthographic perspective matrix from the given view volume dimensions.
'Declaration
Public Shared Function Orthographic( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As Matrix4x4
public static Matrix4x4 Orthographic(
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- width
- The width of the view volume.
- height
- The height of the view volume.
- zNearPlane
- The minimum Z-value of the view volume.
- zFarPlane
- The maximum Z-value of the view volume.
Return Value
The orthographic projection matrix.