Skip to content

Class

PlacementGeometryUtils

Generated GDScript class reference for GridPlacement.PlacementGeometryUtils.

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

Utility functions for geometry calculations and shape operations. Provides static methods for working with collision shapes, bounding boxes, and coordinate transformations in grid building contexts.

Source: addons/grid_placement/utils/placement_geometry_utils.gd

Syntax

class PlacementGeometryUtils

Members

NameKindSummary
points_array_to_rect_2dMethod
get_all_collision_shapes_by_ownerMethod
get_shapes_from_ownerMethod
grow_rect2_to_squareMethod
get_overlapped_tiles_for_rectMethod
get_overlapped_tiles_for_polygonMethod
overlappedProperty
tile_shapeProperty
tile_sizeProperty
aabbProperty
aabb_cornersProperty
mappedProperty
min_xProperty
max_xProperty
min_yProperty
max_yProperty
cellProperty
cell_centerProperty
cell_posProperty
collision_covered_tilesMethod