Description
The IsSolidClass
property of the MapClass
class indicates whether the entity is a solid class entity. Solid class entities are typically those that are tied to a mesh in Hammer, such as triggers and other entities that interact with the physical world.
Usage
Use the IsSolidClass
property to determine if a MapClass
instance represents a solid entity. This can be useful when you need to differentiate between different types of entities in your map, such as when performing operations that are specific to solid entities.
Example
// Example of checking if a MapClass is a solid class
MapClass mapEntity = new MapClass();
if (mapEntity.IsSolidClass)
{
// Perform operations specific to solid class entities
// For example, setting up collision or interaction logic
}