Description
The IsPointClass
property of the MapClass
class indicates whether the entity is a point entity, such as a model entity. Point entities are typically used in the map editor to represent objects that do not have a physical presence in the world, like lights or spawn points.
Usage
Use the IsPointClass
property to determine if a MapClass
instance represents a point entity. This can be useful when iterating over a collection of map entities and you need to perform specific actions based on the type of entity.
Example
// Example of checking if a MapClass instance is a point entity
MapClass mapEntity = GetMapEntity();
if (mapEntity.IsPointClass)
{
// Perform actions specific to point entities
// For example, setting up a light or a spawn point
}