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 PlacementGeometryUtilsMembers
| Name | Kind | Summary |
|---|---|---|
points_array_to_rect_2d | Method | |
get_collision_object_shapes | Method | |
get_all_collision_shapes_by_owner | Method | |
get_shapes_from_owner | Method | |
grow_rect2_to_increment | Method | |
grow_rect2_to_square | Method | |
get_rect2_position_offset | Method | |
get_overlapped_tiles_for_rect | Method | |
get_overlapped_tiles_for_polygon | Method | |
overlapped | Property | |
tile_shape | Property | |
tile_size | Property | |
aabb | Property | |
aabb_corners | Property | |
mapped | Property | |
min_x | Property | |
max_x | Property | |
min_y | Property | |
max_y | Property | |
cell | Property | |
cell_center | Property | |
cell_pos | Property | |
is_tile_covered_by_collision_shape | Method | |
is_tile_covered_by_collision_polygon | Method |