CreateFromUnitNormalAndDistance(float3, float)
Creates a normalized Plane directly without normalization cost.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
public static Plane CreateFromUnitNormalAndDistance(float3 unitNormal, float distance)
Parameters
Returns
Type | Description |
|---|---|
| Plane | Normalized Plane constructed from given inputs. |
Remarks
If you have a unit length normal vector, you can create a Plane faster than using one of its constructors by calling this function.