Garry's Mod Wiki

Revision Difference

DColorMixer:SetVector#550030

<function name="SetVector" parent="DColorMixer" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the color of <page>DColorMixer</page> from a <page>Vector</page>. Alpha is not included.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="vec" type="Vector">The color to set. It is expected that the vector will have values be from 0 to 1. (i.e. be normalized)</arg> </args> </function>