Matrix4d.CreateOrthographic Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateOrthographic(Double, Double, Double, Double, Matrix4d) |
Creates an orthographic projection matrix. |
CreateOrthographic(Double, Double, Double, Double) |
CreateOrthographic(Double, Double, Double, Double, Matrix4d)
Creates an orthographic projection matrix.
public static void CreateOrthographic (double width, double height, double zNear, double zFar, out OpenTK.Matrix4d result);
static member CreateOrthographic : double * double * double * double * -> unit
Parameters
- width
- Double
The width of the projection volume.
- height
- Double
The height of the projection volume.
- zNear
- Double
The near edge of the projection volume.
- zFar
- Double
The far edge of the projection volume.
- result
- Matrix4d
The resulting Matrix4d instance.