Summary
Generates a random color.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- RandomExtensions
Syntax
public static Color NextColor(this Random random)
Parameters
Name | Type | Description |
---|---|---|
random | Random | An instance of Random . |
Return Value
Type | Description |
---|---|
Color | A random color. Aplha is set to 255. |