Method NextFloat2Direction
NextFloat2Direction()
Returns a unit length float2 vector representing a uniformly random 2D direction.
Declaration
public float2 NextFloat2Direction()
Returns
Type | Description |
---|---|
float2 | A uniformly random unit length float2 vector. |