Skip to content

Procedural Rects

Actions for generating, connecting, and linking rectangular regions at runtime.

Recommended flow: Build Random Rects -> Build Rect Connections -> Build Rect Connectors.

Rect Builders

Build Random Rects

Generate random room or region rects inside a bounding area using scatter or BSP methods.

Build Rect Connections

Create a connection graph between rects using MST plus optional extra links for loops.

Build Rect Connectors

Build connector rect geometry between connected rooms, such as corridor, block, or merge styles.