Skip to content

Class

PlacementGeometryUtils

Generated GDScript class reference for GridPlacement.PlacementGeometryUtils.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-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_collision_object_shapesMethod
get_all_collision_shapes_by_ownerMethod
get_shapes_from_ownerMethod
grow_rect2_to_incrementMethod
grow_rect2_to_squareMethod
get_rect2_position_offsetMethod
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
is_tile_covered_by_collision_shapeMethod
is_tile_covered_by_collision_polygonMethod