Static Public Member Functions | |
static Vector2 | OnUnitCircle () |
Returns a random vector on the unit cirlce. | |
static Vector2 | Range (Vector2 min, Vector2 max) |
Returns a random point where each axis is between a minimum and a maximum. | |
static Vector3 | Range (Vector3 min, Vector3 max) |
Returns a random point where each axis is between a minimum and a maximum. | |
static Vector3 | WithinBounds (Bounds bounds) |
Returns a random point within the given bounds. | |
static Vector2 | WithinRectangle (Rect rect) |
Returns a random point within a rectangle. | |
|
static |
Returns a random vector on the unit cirlce.
|
static |
Returns a random point where each axis is between a minimum and a maximum.
min | |
max |
|
static |
Returns a random point where each axis is between a minimum and a maximum.
min | |
max |
|
static |
Returns a random point within the given bounds.
bounds |
|
static |
Returns a random point within a rectangle.
rect |