Garry's Mod Wiki

Revision Difference

COLOR:SetWhiteness#563438

<function name="SetWhiteness" parent="Color" type="classfunc">⤶ <description>Converts a <page>Color</page> into [HWB color space](https://en.wikipedia.org/wiki/HWB_color_model), sets the "whiteness" and converts it back into an RGB color.⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <added>2025.01.23</added>⤶ <args>⤶ <arg name="whiteness" type="number">The new "whiteness" value in range [0, 1]</arg>⤶ </args>⤶ </function>⤶ ⤶