Creates a customized perspective projection matrix.
'Declaration
Public Shared Function PerspectiveOffCenter( _
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 PerspectiveOffCenter(
System.float ,
System.float ,
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- left
- The minimum x-value of the view volume at the near view plane.
- right
- The maximum x-value of the view volume at the near view plane.
- bottom
- The minimum y-value of the view volume at the near view plane.
- top
- The maximum y-value of the view volume at the near view plane.
- nearPlaneDistance
- The distance to the near view plane.
- farPlaneDistance
- The distance to the far view plane.
Return Value
The perspective projection matrix.