public CSG color(Color c) { CSG result = this.clone(); storage.set("material:color", $"{c.R} {c.G} {c.B}"); return(result); }
static void randomColor(PropertyStorage storage) { var r = new Random(); Color c = colors[(int)(r.NextDouble() * colors.Length)]; storage.set("material:color", $"{c.R} {c.G} {c.B}"); }