palette_from_string
Description:
public static bool palette_from_string (
string str,
out Color[] colors)
Parses a color palette string; the string is a colon-separated list of color names readable by
parse.
Parameters:
| str |
a string encoding a color palette
|
| colors |
return location for allocated array of Color
|
| n_colors |
return location for length of array
|
Returns:
|
true if a palette was successfully parsed
|