ColorVector:operator +(col2)

Version added: before 9.5
Adds two colors and returns the result as a new color

Arguments:

Name Type Description Default Ver
col2 ColorVector A color to add to the first one < 9.5

Return value:

ColorVector the sum of two colors
Adds two colors and returns the result as a new color. This operator makes it possible to add two colors as if they were regular numbers. Example: c = a + b.
<< Back to ColorVector