# CreateFromUnitNormalAndDistance(float3, float)

> Creates a normalized Plane directly without normalization cost.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics.Geometry](/engine/6000.6/script-reference/unity/mathematics/geometry.md)
* **Assembly:** UnityEngine.MathematicsModule

```csharp
public static Plane CreateFromUnitNormalAndDistance(float3 unitNormal, float distance)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): A non-zero vector that is perpendicular to the plane.  It must be unit length.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Distance from the origin along the normal.  A negative value moves the plane in the same direction as the normal while a positive value moves it in the opposite direction.

### Returns

| Type                                                                         | Description                                     |
| ---------------------------------------------------------------------------- | ----------------------------------------------- |
| [Plane](/engine/6000.6/script-reference/unity/mathematics/geometry/plane.md) | 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.
