Skip to content

Class

ObjectPlacementPreviewSlots3D

Generated GDScript class reference for GridPlacement.ObjectPlacementPreviewSlots3D.

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.

Parked per-session selection/preview slots for ObjectPlacementService3D. Split-screen players share one 3D service: committed occupancy is one world, but each session keeps its own selected entry, ghost, yaw, mount, and replace-hidden node. The service holds the bound session's slot in its own fields; this store holds every other session's Slot, keyed by session id, and owns their presentation cleanup. It never validates or commits. [ObjectPlacementService3D.capture_preview_slot] / [ObjectPlacementService3D.restore_preview_slot] return and accept [ObjectPlacementPreviewSlots3D.Slot], so a caller that temporarily borrows a session (a headless placement command) owes the full slot back — entry, ghost, tint, ring, cell, yaw, mount, and the drag-span pool — not just the selected entry.

Source: addons/grid_placement/systems/building/3d/object_placement_preview_slots_3d.gd

Syntax

class ObjectPlacementPreviewSlots3D extends RefCounted

Members

NameKindSummary
entryPropertyOne session's parked selection and preview presentation. A fresh slot holds the service's empty defaults.
ghostProperty
ghost_validProperty
hidden_replacedProperty
tintPropertyNull restores a fresh tint/ring.
ringProperty
cellProperty
yawProperty
mountPropertyObjectPlacementService3D.PreviewMount; 0 is NONE.
edgeProperty
pool_ghostsPropertyDrag-span ghosts and their verdicts.
pool_validsProperty
pool_cellsProperty
clear_placementMethod
bound_poolProperty
capture_fromMethod
restore_intoMethod
parkMethod
takeMethod
forgetMethod
hide_previewMethod
free_ghostsMethod
clearMethod