DColorCube.SetBaseRGB
From GMod Wiki
Function | |
Syntax | DColorCube:SetBaseRGB( color color ) |
Description: | |
Sets the background (base) color of a DColorCube. | |
Returns: | nil |
In Object: | DColorCube |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DColorCube.SetBaseRGB]DColorCube.SetBaseRGB [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Set the base color of a DColorCube to red. |
---|---|
Used on | |
Code | local colorcube= vgui.Create("DColorCube") colorcube:SetBaseRGB(Color(255, 0, 0)) -- Red |
Output |