Synced
Matrix.CreatePerspectiveFieldOfView
Section titled “Matrix.CreatePerspectiveFieldOfView”
- Creates a left-handed, perspective 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.CreatePerspectiveFieldOfView(float fov, float aspect, float near, float far)Parameters
Section titled “Parameters”Parameter fov: Vertical field of view in radians.
Parameter aspect: Viewport aspect ratio (width / height).
Parameter near: Near plane distance (positive).
Parameter far: Far plane distance (positive).
Returns
Section titled “Returns”A perspective projection matrix.