bool IsPathClass { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsPathClass property of the MapClass class indicates whether the entity is a path entity. Path entities are used within the map editor's Path Tool to define paths that can be followed by other entities or used for various path-related functionalities.

Usage

To determine if a MapClass instance represents a path entity, you can check the IsPathClass property. This is useful when you need to filter or process entities based on their type within the map editor.

Example

// Example of checking if a MapClass instance is a path entity
MapClass mapEntity = new MapClass();

if (mapEntity.IsPathClass)
{
    // Perform operations specific to path entities
    Console.WriteLine("This is a path entity.");
}
else
{
    // Handle non-path entities
    Console.WriteLine("This is not a path entity.");
}