Garry's Mod Wiki

Garry's Mod Wiki

  Color:AddBlackness( number blackness )

Description

Converts a Color into HWB color space, adds given value to the "blackness" and converts it back into an RGB color.

A slightly more efficient combination of COLOR:GetBlackness & COLOR:SetBlackness

Arguments

1 number blackness
The "blackness" value to add in range [0, 1]

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...