Skip to main content

TileSetConstraintMap

Type Alias TileSetConstraintMap 

Source
pub type TileSetConstraintMap = HashConstraintMap<Vector2<i32>, TileTerrainId, PatternBits>;
Expand description

A map from Vector2<i32> positions to auto-tile cell constriants. Each cell contraint is either an TileTerrainId which represents the center of the permitted patterns for this cell, or else it is a PatternBits which represents the only permitted pattern for this cell and thereby constrains the neighboring cells.

Aliased Typeยง

pub struct TileSetConstraintMap { /* private fields */ }