Skip to content
ct

Class

TerrainBrushContext

Generated GDScript class reference for GridPlacement.TerrainBrushContext.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

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