CalculateObliqueMatrix(Vector4)
Calculates and returns oblique near-plane projection matrix.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Matrix4x4 CalculateObliqueMatrix(Vector4 clipPlane)
Parameters
Vector4 that describes a clip plane.
Returns
Type | Description |
|---|---|
| Matrix4x4 | Oblique near-plane projection matrix. |
Remarks
Given a clip plane vector, this function returns camera's projection matrix which has this clip plane set as its near plane.