Category:Color

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "List of all possible functions to manipulate colors. Created by {{GlobalFunction|Color}}, {{GlobalFunction|HSVToColor}}, and {{GlobalFunction|HSLToColor}}. {{ClassFields |Fie...")
 
m (Note Lua implementation)
Line 1: Line 1:
List of all possible functions to manipulate colors.
+
List of all possible functions to manipulate colors. Colors are implemented in Lua thus {{GlobalFunction|type}}(color) == "table" and {{GlobalFunction|TypeID}}(color) == TYPE_TABLE.
  
 
Created by {{GlobalFunction|Color}}, {{GlobalFunction|HSVToColor}}, and {{GlobalFunction|HSLToColor}}.
 
Created by {{GlobalFunction|Color}}, {{GlobalFunction|HSVToColor}}, and {{GlobalFunction|HSLToColor}}.

Revision as of 09:33, 4 October 2019

List of all possible functions to manipulate colors. Colors are implemented in Lua thus type(color) == "table" and TypeID(color) == TYPE_TABLE.

Created by Color, HSVToColor, and HSLToColor.

Fields

Type Name Description
number r The red component of the color.
number g The green component of the color.
number b The blue component of the color.
number a The alpha component of the color.

Pages in category "Color"

The following 6 pages are in this category, out of 6 total.

Personal tools
Navigation