# NextDouble3Direction()

> Returns a unit length double3 vector representing a uniformly random 3D direction.

## Definition

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

```csharp
public double3 NextDouble3Direction()
```

### Returns

| Type                                                                    | Description                                    |
| ----------------------------------------------------------------------- | ---------------------------------------------- |
| [double3](/engine/6000.5/script-reference/unity/mathematics/double3.md) | A uniformly random unit length double3 vector. |
