Here are the examples of the csharp api System.Random.NextColor() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : Rand.cs
with MIT License
from ChevyRay
with MIT License
from ChevyRay
public static Color4 Color()
{
lock (randLock)
return rand.NextColor();
}
19
Source : RandomExtensions.cs
with MIT License
from hypar-io
with MIT License
from hypar-io
public static Material NextMaterial(this Random random, bool unlit = true)
{
var color = random.NextColor();
return new Material(color.ToString(), color, 0.1, 0.3, null, unlit, true);
}