Synced
Matrix.CreateOrthographic
Section titled “Matrix.CreateOrthographic”
- Creates an orthographic projection matrix (depth range 0..1).
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static Inno.Core.Mathematics.Matrix Inno.Core.Mathematics.Matrix.CreateOrthographic(float width, float height, float near, float far)Parameters
Section titled “Parameters”Parameter width: View width.
Parameter height: View height.
Parameter near: Near plane in camera space.
Parameter far: Far plane in camera space.
Returns
Section titled “Returns”An orthographic projection matrix.