C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / OrthographicOffCenter Method
The minimum X-value of the view volume.
The maximum X-value of the view volume.
The minimum Y-value of the view volume.
The maximum Y-value of the view volume.
The minimum Z-value of the view volume.
The maximum Z-value of the view volume.

In This Topic
OrthographicOffCenter Method
In This Topic
Creates a customized orthographic projection matrix.
Syntax
'Declaration
 
Public Shared Function OrthographicOffCenter( _
   ByVal left As System.Single, _
   ByVal right As System.Single, _
   ByVal bottom As System.Single, _
   ByVal top As System.Single, _
   ByVal zNearPlane As System.Single, _
   ByVal zFarPlane As System.Single _
) As Matrix4x4
 

Parameters

left
The minimum X-value of the view volume.
right
The maximum X-value of the view volume.
bottom
The minimum Y-value of the view volume.
top
The maximum Y-value 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.
See Also