RandomHelper
Declaration
public static class Strawberry.Graphics.ParticleSystem.RandomHelper
Methods
Range static
float Range(float min, float max)
Parameters:
| Name | Type | Description |
|---|---|---|
min |
System.Single |
|
max |
System.Single |
Range static
int Range(int min, int max)
Parameters:
| Name | Type | Description |
|---|---|---|
min |
System.Int32 |
|
max |
System.Int32 |
InsideCircle static
Vector2 InsideCircle(float radius)
Parameters:
| Name | Type | Description |
|---|---|---|
radius |
System.Single |
InsideRectangle static
Vector2 InsideRectangle(float width, float height)
Parameters:
| Name | Type | Description |
|---|---|---|
width |
System.Single |
|
height |
System.Single |