Skip to content

Class

ObjectMountRegistry3D

Generated GDScript class reference for GridPlacement.ObjectMountRegistry3D.

Status
Current
Version
v6.2.0
Source updated
2026-09-24
Generated on
2026-10-01

Local GRID mount projection of [ObjectPlacementService3D]: which committed node holds each column, edge, corner, face, and top socket, and the mount each node was placed on. The [PlacementWorldRegistry] stays the shared authority; this is the service's fast per-socket index of it. Validation reads these maps through [member PlacementValidation3D.PlacementValidationContext3D.mounts]. Every mutation bumps [member revision] so cached validation can tell the state changed.

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

Syntax

class ObjectMountRegistry3D extends RefCounted

Members

NameKindSummary
nodePropertyEverything the registry holds for one node, captured before a move or removal so it can be put back exactly.
had_projectionPropertyTrue when the node held any socket or mount record.
occupiedProperty
familiesProperty
overlay_cellsProperty
edgesProperty
edge_familiesProperty
cornersProperty
facesProperty
face_occupancyProperty
topsProperty
top_familiesProperty
placedProperty
placement_recordProperty
occupiedPropertyColumn key -> occupying CELL node.
familiesPropertyColumn key -> snap family of the occupying CELL node.
overlay_nodesPropertyColumn key -> Array of the non-occupying CELL overlays stacked on it.
placed_nodesProperty
edgesPropertyEdge key -> mounted node, and its snap family.
edge_familiesProperty
cornersPropertyCorner key -> mounted node.
facesPropertyFace key -> providing node and its family, rebuilt from the records.
face_familiesProperty
face_occupancyPropertyFace occupancy key (face + height band) -> mounted node.
topsPropertyTop key -> head of the stack mounted there, and its family.
top_familiesProperty
top_stacksPropertyTop key -> bottom-to-top Array of mounted nodes (story walls under roofs).
placement_recordsPropertyNode -> the [PlacementMount] it was placed on.
revisionPropertyIncremented by every mutation.
mount_ofMethod
applyMethod
removeMethod
captureMethod
restoreMethod
push_topMethod
pop_topMethod
add_overlayMethod
has_face_dependentsMethod
has_top_dependentsMethod
has_live_dependentsMethod
prune_invalidMethod
clearMethod
snapshotMethod
restore_fromMethod