Matrix44CreatePerspective(Double, Double, Double, Double, Matrix44) Method |
Creates a new projection
Matrix44 for perspective view.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static void CreatePerspective(
double width,
double height,
double nearPlaneDistance,
double farPlaneDistance,
out Matrix44 result
)
Public Shared Sub CreatePerspective (
width As Double,
height As Double,
nearPlaneDistance As Double,
farPlaneDistance As Double,
<OutAttribute> ByRef result As Matrix44
)
Parameters
- width Double
- Width of the viewing volume.
- height Double
- Height of the viewing volume.
- nearPlaneDistance Double
- Distance to the near plane.
- farPlaneDistance Double
- Distance to the far plane.
- result Matrix44
- The new projection Matrix44 for perspective view as an output parameter.
See Also