Garry's Mod Wiki

DEntityProperties

Description

This is used internally - although you're able to use it you probably shouldn't. Unless you know what you are doing and you benefit from this panel, you should be using the DProperties instead.

A panel used by the Editable Entities system.

Parent

Derives from DProperties.

Methods

DEntityProperties:EditVariable( string varname, table editdata )
This is used internally - although you're able to use it you probably shouldn't. Called internally by DEntityProperties:RebuildControls.
DEntityProperties:EntityLost()
This is used internally - although you're able to use it you probably shouldn't. Called internally when an entity being edited became invalid. You should use DEntityProperties:OnEntityLost instead.
DEntityProperties:OnEntityLost()
Called when we were editing an entity and then it became invalid (probably removed)
DEntityProperties:RebuildControls()
This is used internally - although you're able to use it you probably shouldn't. Called internally by DEntityProperties:SetEntity to rebuild the controls.
DEntityProperties:SetEntity( Entity ent )
Sets the entity to be edited by this panel. The entity must support the Editable Entities system or nothing will happen.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 2
Generate Html 8
SaveChanges (1) 9
Render Body 0
Render Sidebar 12