Skip to content

Class

TerrainBrushContext

Generated GDScript class reference for GridPlacement.TerrainBrushContext.

Status
Current
Version
v6.0
Source updated
2026-09-04
Generated on
2026-09-06

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