ColorVector:AsColorStruct()

Version added: before 9.5
Converts a ColorVector into an rgb_color object, returning the new object

Return value:

rgb_color a new rgb_color object with the equivalent color values as the original ColorVector
Converts a ColorVector into an rgb_color object, returning the new object.
<< Back to ColorVector