Method NextFloat3Direction
NextFloat3Direction()
Returns a unit length float3 vector representing a uniformly random 3D direction.
Declaration
public float3 NextFloat3Direction()
Returns
Type | Description |
---|---|
float3 | A uniformly random unit length float3 vector. |