PerspectiveFov(float, float, float, float)
Returns a float4x4 perspective projection matrix based on field of view.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static float4x4 PerspectiveFov(float verticalFov, float aspect, float near, float far)
Parameters
Returns
Type | Description |
|---|---|
| float4x4 | The float4x4 perspective projection matrix. |