Enum MapPatternType
Geometric pattern types that can be stamped onto an existing grid by ApplyPatternOverlay(ScyllaSquareGrid<int>, int, int, MapOverlaySettings) to add repeating visual detail on top of already-generated floor cells.
Pattern overlays do not generate new map structure; they only reclassify cells that
already exist in the grid according to a deterministic geometric rule. When
OnlyAffectFloors is true, only cells
whose current value matches the specified floor value are candidates for modification.
This prevents the overlay from overwriting walls or corridor cells.
Patterns are evaluated using the column and row indices of each cell relative to the grid origin. The same pattern applied to different grid sizes will tile consistently because the matching rules depend only on the local column/row modulus, not on the absolute grid dimensions (except Border, which is perimeter-relative).
Namespace: Scylla.Core.Util.ProceduralMapGen
Assembly: ScyllaCore.dll
Syntax
public enum MapPatternType
Fields
| Name | Description |
|---|---|
| Border | A border ring pattern that marks only the outermost ring of cells along the grid
perimeter - those whose column index is |
| Checker | An alternating checkerboard pattern where every cell at an even sum of column and row
indices ( |
| DiagonalStripes | A diagonal stripe pattern where cells whose column-plus-row sum falls within the first
half of a period-4 cycle ( |
| HorizontalStripes | A horizontal stripe pattern where every even-indexed row ( |
| VerticalStripes | A vertical stripe pattern where every even-indexed column ( |