Matrix4.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(Single, Single, Single, Single, Matrix4) |
Creates an orthographic projection matrix. |
CreateOrthographic(Single, Single, Single, Single) |
CreateOrthographic(Single, Single, Single, Single, Matrix4)
Creates an orthographic projection matrix.
public static void CreateOrthographic (float width, float height, float zNear, float zFar, out OpenTK.Matrix4 result);
static member CreateOrthographic : single * single * single * single * -> unit
Parameters
- width
- Single
The width of the projection volume.
- height
- Single
The height of the projection volume.
- zNear
- Single
The near edge of the projection volume.
- zFar
- Single
The far edge of the projection volume.
- result
- Matrix4
The resulting Matrix4 instance.