Normalize
Normalizes the given Plane.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
Normalize(Plane)
Normalizes the given Plane.
public static Plane Normalize(Plane plane)
Parameters
Plane to normalize.
Returns
Type | Description |
|---|---|
| Plane | Normalized Plane. |
Normalize(float4)
Normalizes the plane represented by the given plane coefficients.
public static float4 Normalize(float4 planeCoefficients)
Parameters
Plane coefficients A, B, C, D stored in x, y, z, w (respectively).
Returns
Type | Description |
|---|---|
| float4 | Normalized plane coefficients. |
Remarks
The plane coefficients are A, B, C, D and stored in that order in the float4.