Entry record for the smooth occupancy registry. Carries the placed node identity, world-space footprint, position, and rotation. Used by [SmoothOccupancyRegistry2D] to track and query occupied space for smooth/free placement mode.
Source: addons/grid_placement/services/smooth_occupancy_entry_2d.gd
Syntax
class SmoothOccupancyEntry2D extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
placed_node | Property | Weak reference to the placed node. Freed nodes are cleaned up by [method SmoothOccupancyRegistry2D.clear_invalid_entries]. |
footprint | Property | World-space axis-aligned footprint (size in world units). Set from [member ScenePlacementEntry.footprint_2d] at commit time. |
position | Property | World position of the placed object. |
rotation | Property | Rotation in radians. |
get_world_rect | Method | |
is_node | Method |