Skip to content

Class

TerrainStackRule3D

Generated GDScript class reference for GridPlacement.TerrainStackRule3D.

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.

Vertical placement rule for stacked 3D terrain blocks. It validates the cell TerrainStacking3D climbs to: a block above the base row must rest on a full-height block, stay within the stack height the cursor can still aim at, and not overlap a placed object. Runs inside the plugin's terrain rule pipeline, so hover previews, single paints, and drag commits all share the same verdict. Author it on a stacking terrain's rule list.

Source: addons/grid_placement/placement/placement_rules/template_rules/terrain_stack_rule_3d.gd

Syntax

class TerrainStackRule3D extends TilePaintRule

Members

NameKindSummary
base_rowPropertyLowest row of the terrain. Blocks here sit on the ground layer and need no support beneath them.
max_rowPropertyHighest row a block may occupy. Keep it at or below ObjectPlacementSettings3D.surface_scan_max_y, or the cursor and objects could not find the stack's top.
unsupported_messageProperty
too_high_messageProperty
blocked_messageProperty
supports_3d_terrainMethod
validate_cellMethod