DModelPanel.GetColor

From GMod Wiki

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



Examples

DescriptionGets the, if set, color of the model in the panel.
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
PrintTable(DModelPanel:GetColor())
OutputReturns "Table Color" in the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox