Skip to content

Class

PlacementWorldFactsProvider2D

Generated GDScript class reference for GridPlacement.PlacementWorldFactsProvider2D.

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.

Dimension-specific provider boundary for placement-relevant 2D world facts. Grid Placement owns placement flow, previews, validation composition, and reports. Games own physics/simulation/world truth. This small RefCounted contract lets a game supply facts from Godot Physics, Avian 2D, a custom simulation, or a test stub without making the plugin depend on that backend.

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

Syntax

class PlacementWorldFactsProvider2D extends RefCounted

Members

NameKindSummary
KEY_BLOCKEDField
KEY_REASONField
KEY_SOURCEField
KEY_CELLField
KEY_SURFACEField
KEY_METADATAField
SOURCE_DEFAULTField
has_fact_for_cellMethod
is_cell_blockedMethod
get_block_reasonMethod
get_surface_dataMethod
get_cell_metadataMethod
get_cell_reportMethod