OrthographicOffCenter Method
In This Topic
Creates a customized orthographic projection matrix.
Syntax
'Declaration
Public Shared Function OrthographicOffCenter( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As Matrix4x4
public static Matrix4x4 OrthographicOffCenter(
System.float ,
System.float ,
System.float ,
System.float ,
System.float ,
System.float
)
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