Skip to content

Class

PlacementCellPolicy3D

Generated GDScript class reference for GridPlacement.PlacementCellPolicy3D.

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.

Optional per-entry rule for 3D CELL placement. The plugin owns occupancy, grounding, and attachment. A game sometimes has one more rule only it can answer — "one room per storey", "no towers in the market district", "a claim covers at most these tiles" — and this is the seam for it. An entry carries a policy, validation asks it once per attempt, and a non-empty answer refuses the placement everywhere the plugin reports a refusal: preview, commit, and the counterfactual a move asks. Policies read the attempt through p_context (the committed mounts, the excluded node of a move, the footprint cells) and must not mutate the registry or the scene: the service stays the single writer.

Source: addons/grid_placement/placement/placement_rules/placement_cell_policy_3d.gd

Syntax

class PlacementCellPolicy3D extends Resource

Members

NameKindSummary
issue_for_cellsMethod