class MapEntity : MapNode

robot_2Generated
code_blocksInput

Description

The MapEntity class in Hammer is a specialized type of MapNode that manages a collection of key/value pairs. These pairs define the authoritative state of the entity. MapEntities can have associated helpers that enhance the display and modification of these keyvalues. These helpers are dynamic and can be regenerated from the entity's keyvalues. Additionally, a MapEntity can have zero or more MapMesh children.

Members

Instance Members

Member Name Summary
GetKeyValue Retrieves the value associated with the specified key.
SetKeyValue Sets the value for a specified key.
SetDefaultBounds Defines the default bounding box for the entity using minimum and maximum vectors.
SerializedObject Gets the serialized representation of the entity.
MapClass Gets the map class associated with the entity.
TypeDescription Provides a description of the entity's type.
ClassName Entity class name like prop_physics.