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 or other entities that have a physical presence in the game 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 distinguishing between point entities and 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 physics properties
}