Garry's Mod Wiki

Revision Difference

Structures/Color#517054

<cat>struct</cat> <structure> <description>Table created by the <page>Global.Color</page> function and used in various situations.</description> <fields>{{StructureField|number|r|The red channel</fields>⤶ <fields>⤶ <item name="r" type="number">The red channel</item>⤶ ⤶ <item name="g" type="number">The green channel</item>⤶ ⤶ <item name="b" type="number">The blue channel</item>⤶ ⤶ <item name="a" type="number">The alpha channel</item>⤶ </fields>⤶ </structure> ⤶ ⤶ {{StructureField|number|g|The green channel}}⤶ {{StructureField|number|b|The blue channel}}⤶ {{StructureField|number|a|The alpha channel}}⤶ }}