Skip to content

Class

TerrainLayerRouting

Generated GDScript class reference for GridPlacement.TerrainLayerRouting.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Single resolver for the TileMapLayer a terrain paints onto. Both the host targeting/preview path (GridPlacementHost) and the paint service (TerrainPlacementService2D) call this, so a ghost always previews on the same layer its commit will paint. Resolution order: entry TilePlacementEntry.target_layer_name -> palette TerrainPalette.default_target_layer_name -> default map. The resolver never invents a new authority: it reads entry/palette data that the game authored and the maps the session declared in GridTargetingState.maps.

Source: addons/grid_placement/systems/building/terrain/terrain_layer_routing.gd

Syntax

class TerrainLayerRouting extends RefCounted

Members

NameKindSummary
resolveMethod
wantedProperty
terrainProperty