NextDouble3Direction()
Returns a unit length double3 vector representing a uniformly random 3D direction.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public double3 NextDouble3Direction()
Returns
Type | Description |
|---|---|
| double3 | A uniformly random unit length double3 vector. |