DModelPanel.SetColor

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.SetColor( Color ModelColor )
Description:
Sets the color of the model in the panel
Returns: nil
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetColor]DModelPanel.SetColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the color of the model in the panel.
Used onNewerClient.png
Code
 
DModelPanel = vgui.Create("DModelPanel")
DModelPanel:SetColor(Color(20,50,80)))
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox