Sets all the items in the <ColorArray> to this value.
int32 Fill( Color p_oColor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color> | p_oColor | A pointer to the <Color> object whose value you wish to set for all the items in the <ColorArray>. |
import library "type_color_array_util.ssl";
auto Color red = new Color( 255, 0, 0, 255 );
auto ColorArray data;
data.Count = 4;
data.Fill( red );
LibColorArray.Out( data );
COLORARRAY OUTPUT generated by TYPE_COLOR_ARRAY_UTIL.SSL
0,
0,
255,
255,
0,
0,
255,
255,
0,
0,
255,
255,
0,
0,
255,
255