Skip to content

Class

TerrainBrushContext

Generated GDScript class reference for GridPlacement.TerrainBrushContext.

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.

Carries the currently-selected terrain for one brush stroke: its name, the TilePlacementEntry to paint, and the TerrainPalette it came from. A null/empty context (is_empty() == true) means no terrain is selected.

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

Syntax

class TerrainBrushContext extends RefCounted

Members

NameKindSummary
terrain_nameProperty
terrain_entryProperty
terrain_paletteProperty
clearMethod
is_emptyMethod