Terrain-aware tile painting and refresh planning for TileMapLayer targets.
Source: addons/grid_placement/systems/building/terrain/terrain_tile_painter.gd
Syntax
class TerrainTilePainter extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
terrain_set | Property | A (terrain_set, terrain) pair on a TileSet. -1 means none. |
terrain | Property | |
equals | Method | |
at | Method | |
target_cell | Property | |
target_cells | Property | |
terrain_set | Property | |
terrain | Property | |
refresh_groups | Property | |
skipped_neighbors | Property | |
issues | Property | |
unrendered_cells | Property | Target cells that ended apply_plan with no tile assigned (source_id == -1). A non-empty list means the paint produced no renderable tile — the terrain solver no-op'd and no fallback tile declared this terrain. Callers (and the smoke verifier) should treat this as a debug signal, not a silent success. |
is_successful | Method | |
add_issue | Method | |
add_skipped_neighbor | Method | |
add_refresh_cell | Method | |
get_refresh_cell_count | Method | |
terrain_set | Property | |
terrain | Property | |
cells | Property | |
build_plan | Method | |
build_plan_multi | Method | |
apply_plan | Method | |
target_cells | Property | |
drifted | Property | |
td | Property | |
paint_terrain | Method | |
resolve_terrain_by_name | Method |
Guides that use this class
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot