Skip to content

Class

PlacementEnums

Generated GDScript class reference for GridPlacement.PlacementEnums.

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.

Centralized enums used across the Grid Building plugin. Collects shared enum types (modes, actions, statuses, tile types) used by systems, UI, and tests.

Source: addons/grid_placement/placement_enums.gd

Syntax

class PlacementEnums

Members

NameKindSummary
is_placement_modeMethod
mode_to_stringMethod
projection_method_to_stringMethod
PREVIEWFieldCoordinate mode for placement targeting. GRID snaps to cell centers (default). SMOOTH uses exact world positions. Metadata keys used by PlacementSession / PlacementStates / preview factories to attach information to scene-tree nodes via Node.set_meta(). Centralizing the keys here is the single source of truth for cross-module meta key usage. Marks a node as a placement preview (terrain preview, drag preview, indicator preview, etc.). Read by the demo world loader to skip preview nodes during save/load and by indicator cleanup paths to free preview-owned collision shapes.