Skip to content

Class

PlacementWorldRestoreCoordinator

Generated GDScript class reference for GridPlacement.PlacementWorldRestoreCoordinator.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Shared staging and commit bookkeeping for the placement-world restore coordinators. [PlacementWorldRestoreCoordinator2D] and [PlacementWorldRestoreCoordinator3D] stage every saved root off-tree, build one [Plan] per root, validate the batch, swap generations, and roll back on failure. This base owns the parts both share: staging the saved states, collecting the roots the new generation replaces, and the typed [Result]. Dimensions own plan preparation, projection commits, and rollback.

Source: addons/grid_placement/services/placement_world_restore_coordinator.gd

Syntax

class PlacementWorldRestoreCoordinator extends RefCounted

Members

NameKindSummary
nodePropertyOne staged root and the world record it commits.
entryProperty
recordProperty
mountPropertyGRID mount; null for SMOOTH plans and for 2D.
is_smoothMethod
okPropertyOutcome of a restore: [member ok] and the restored roots, in commit order. [member nodes] is empty when the restore failed.
nodesProperty
world_registryProperty