ColorVector:operator *(col2)

Version added: before 9.5
Multiplies one color by another and returns the result as a new color

Arguments:

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

Return value:

ColorVector the result of mutliplying two colors
Multiplies one color by another and returns the result as a new color. This operator makes it possible to multiply colors as if they were regular numbers. Example: c = a * b.
<< Back to ColorVector