GridModeExtensions
GridModeExtensions
Extension methods for working with
Project: GridPlacement v6.0
Layer: Core
Source: Core/Types/GridModeExtensions.cs
Namespace: GridBuilding.Core.Types
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Methods
ToDisplayString
Converts the mode to a display-friendly string.
Returns: string
Parameters:
GridMode mode
IsToolMode
Returns whether the mode represents an active tool mode (e.g. place, move, remove).
Returns: bool
Parameters:
GridMode mode
IsActiveMode
Returns whether the mode is active (not
Returns: bool
Parameters:
GridMode mode