Ortho(float, float, float, float)
Returns a float4x4 centered orthographic projection matrix.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static float4x4 Ortho(float width, float height, float near, float far)
Parameters
Returns
Type | Description |
|---|---|
| float4x4 | The float4x4 centered orthographic projection matrix. |