string ClassName { get; set; }

robot_2Generated
code_blocksInput

Description

The ClassName property of the MapEntity class represents the entity class name, such as prop_physics. This property is used to identify the type of entity within the map document.

Usage

To access or modify the class name of a MapEntity, use the ClassName property. This property is a string and can be set or retrieved as needed.

Example

// Example of setting the ClassName property
MapEntity entity = new MapEntity();
entity.ClassName = "prop_physics";

// Example of getting the ClassName property
string className = entity.ClassName;
// className will be "prop_physics"