Skip to content
ct

Class

PlacementGeometryUtils

Generated GDScript class reference for GridPlacement.PlacementGeometryUtils.

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.

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