Skip to content

Class

TerrainPreview

Generated GDScript class reference for GridPlacement.TerrainPreview.

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.

Shows the selected terrain on the hovered cell while painting terrain. Add one to the level scene; the GridPlacementHost connects it. It uses the target map's TileSet, so the preview matches the painted result on square and isometric maps.

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

Syntax

class TerrainPreview extends PlacementNode2D

Members

NameKindSummary
PREVIEW_GROUPFieldScene-tree group the preview adds itself to.
preview_self_modulatePropertyTint of the terrain preview.
resolve_placement_dependenciesMethod
resolve_placement_runtimeMethod
refresh_nowMethod
request_refreshMethod
sync_active_stateMethod