DModelPanel.SetEntity

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.SetEntity( Entity DrawEnt )
Description:
Sets the entity used to draw the panel
Returns: nil
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetEntity]DModelPanel.SetEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the entity used to draw the panel.
Used onNewerClient.png
Code
 
local DModelPanel = vgui.Create("DModelPanel")
DModelPanel:SetEntity(Entity)
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox