Skip to content

Class

PlacementWorldProjections

Generated GDScript class reference for GridPlacement.PlacementWorldProjections.

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.

Typed projection bundle for one committed Grid Placement record. Replaces the internal Dictionary that carried every projection payload under opaque StringName keys. Known projections are statically typed fields; unknown names (test hooks, future adapters) ride in _extra so the registry stays open without losing type safety on the hot paths. Save boundary note: only smooth_consumed (via to_save_data) and mount_socket (via mount.to_dict()) cross the save boundary. Runtime objects (smooth_occupancy, grid_occupancy entries) are rebuilt on restore and never serialized here.

Source: addons/grid_placement/services/placement_world_projections.gd

Syntax

class PlacementWorldProjections extends RefCounted

Members

NameKindSummary
identity_lookupProperty
mount_socketProperty
grid_occupancyProperty3D GRID cells, or a 2D Entry2D when the record is 2D GRID. Variant by contract: the registry never inspects it, adapters own the payload.
smooth_occupancyPropertySMOOTH occupancy entry (Entry3D / Entry2D) or null. Variant by contract.
has_smooth_consumedPropertyPresence is tracked separately: writers store the key even when no socket is consumed, mirroring the legacy Dictionary, so counts stay stable.
smooth_consumedProperty
mount_provider_facesProperty
has_edge_socketProperty
edge_socketProperty
has_face_socketProperty
face_socketProperty
has_top_socketProperty
top_socketProperty
has_corner_socketProperty
corner_socketProperty
has_surface_socketProperty
surface_socketProperty
has_generation_callbackProperty
generation_callbackProperty
emptyMethod
from_variantMethod
duplicateMethod
has_projectionMethod
get_projectionMethod
set_projectionMethod
erase_projectionMethod
projection_keysMethod
projection_countMethod
is_emptyMethod
clearMethod
to_dictMethod