Chris' Tutorials
Docs/Grid Placement

Class

PlacementGeometryUtils

Generated GDScript class reference for GridPlacement.PlacementGeometryUtils.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

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
left_boundProperty
right_boundProperty
top_boundProperty
bottom_boundProperty
sizeProperty
generated_rectProperty
get_collision_object_shapesMethod
shapes_dictProperty
shape_ownersProperty
shape_countProperty
shapeProperty
shapesProperty
get_all_collision_shapes_by_ownerMethod
resultProperty
shapesProperty
get_shapes_from_ownerMethod
shapesProperty
shape_ownersProperty
shape_countProperty
shapeProperty
collision_shapeProperty
convex_partsProperty
poly_shapeProperty
grow_rect2_to_incrementMethod
adjusted_rectProperty
new_size_xProperty
new_size_yProperty
grow_rect2_to_squareMethod
abs_rect_sizeProperty
abs_larger_dimensionProperty
larger_dimension_sizeProperty
get_rect2_position_offsetMethod
get_overlapped_tiles_for_rectMethod
tile_sizeProperty
half_sizeProperty
leftProperty
rightProperty
topProperty
bottomProperty
left_tileProperty
right_tileProperty
top_tileProperty
bottom_tileProperty
tile_positionsProperty
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
shape_polyProperty
rectProperty
extProperty
shape_posProperty
is_tile_covered_by_collision_polygonMethod

Source

addons/grid_placement/utils/placement_geometry_utils.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs