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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
node | Property | Everything the registry holds for one node, captured before a move or removal so it can be put back exactly. |
had_projection | Property | True when the node held any socket or mount record. |
occupied | Property | |
families | Property | |
overlay_cells | Property | |
edges | Property | |
edge_families | Property | |
corners | Property | |
faces | Property | |
face_occupancy | Property | |
tops | Property | |
top_families | Property | |
placed | Property | |
placement_record | Property | |
occupied | Property | Column key -> occupying CELL node. |
families | Property | Column key -> snap family of the occupying CELL node. |
overlay_nodes | Property | Column key -> Array of the non-occupying CELL overlays stacked on it. |
placed_nodes | Property | |
edges | Property | Edge key -> mounted node, and its snap family. |
edge_families | Property | |
corners | Property | Corner key -> mounted node. |
faces | Property | Face key -> providing node and its family, rebuilt from the records. |
face_families | Property | |
face_occupancy | Property | Face occupancy key (face + height band) -> mounted node. |
tops | Property | Top key -> head of the stack mounted there, and its family. |
top_families | Property | |
top_stacks | Property | Top key -> bottom-to-top Array of mounted nodes (story walls under roofs). |
placement_records | Property | Node -> the [PlacementMount] it was placed on. |
revision | Property | Incremented by every mutation. |
mount_of | Method | |
apply | Method | |
remove | Method | |
capture | Method | |
restore | Method | |
push_top | Method | |
pop_top | Method | |
add_overlay | Method | |
has_face_dependents | Method | |
has_top_dependents | Method | |
has_live_dependents | Method | |
prune_invalid | Method | |
clear | Method | |
snapshot | Method | |
restore_from | Method |