Position Based Generation#
Position Based Generation is an optional component that fixes the boundaries of a Generator. It calculates the tile boundaries based on the current position of the editor camera or the player. It then calls the underlying Generator to create content at those boundaries. It can be used in editor or at runtime. You need a LevelCoordinates actor in your level for this to work.
Position Based Generation Settings#
Position Based Generation
Enable Position Based Generation (
bool, defaultfalse)Zoom Level (
int, default14)Generate All Tiles At Distance (
int, default1): Distance 0 means 1 tile, Distance 1 means 3x3=9 tiles, Distance 2 means 5x5=25 tiles, etc.Show Generation State (
bool, defaulttrue)Group First Tiles (
bool, defaulttrue): group the first group of tiles as a single rectangle