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