Skip to content
ct

Class

SmoothOccupancyEntry3D

Generated GDScript class reference for GridPlacement.SmoothOccupancyEntry3D.

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.

3D entry record for the smooth occupancy registry. Carries the placed node identity, world-space footprint (AABB), position, and rotation. Used by [SmoothOccupancyRegistry3D] to track and query occupied space for smooth/free placement mode.

Source: addons/grid_placement/services/smooth_occupancy_entry_3d.gd

Syntax

class SmoothOccupancyEntry3D extends RefCounted

Members

NameKindSummary
placed_nodePropertyWeak reference to the placed node. Freed nodes are cleaned up by [method SmoothOccupancyRegistry3D.clear_invalid_entries].
footprintPropertyWorld-space axis-aligned footprint (size in world units). Set from [member ScenePlacementEntry.footprint_3d] projected to world space.
positionPropertyWorld position of the placed object.
rotation_yawPropertyRotation (yaw) in radians around the Y axis.
get_world_aabbMethod
is_nodeMethod