DModelPanel.SetEntity
From GMod Wiki
| Function | |
| Syntax | DModelPanel.SetEntity( Entity DrawEnt ) |
| Description: | |
| Sets the entity used to draw the panel | |
| Returns: | nil |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetEntity]DModelPanel.SetEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the entity used to draw the panel. |
|---|---|
| Used on | |
| Code | local DModelPanel = vgui.Create("DModelPanel") DModelPanel:SetEntity(Entity) |
| Output | N/A |
Additional Notes
- Appears to be broken