Skip to content

Class

PlacementDiagnostics

Generated GDScript class reference for GridPlacement.PlacementDiagnostics.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

PlacementDiagnostics — runtime/shared diagnostics helpers Provide small, safe, static helpers for generating diagnostic strings that can be reused by runtime code and tests. Notes:

  • Keep these functions side-effect free (no printing) so callers may log or assert as they prefer.

Source: addons/grid_placement/utils/placement_diagnostics.gd

Syntax

class PlacementDiagnostics extends RefCounted

Members

NameKindSummary
format_debugMethod
format_stack_summaryMethod
format_node_labelMethod
format_visibility_contextMethod
format_shape_cast_collisionsMethod
format_targetingMethod
format_canvas_item_stateMethod
has_boundsPropertyWorld-space view rectangle of a camera, as returned by camera_world_bounds(). False when there was no camera or viewport to measure. contains() then fails open.
centerProperty
zoomProperty
world_minProperty
world_maxProperty
containsMethod
camera_world_boundsMethod
is_inside_camera_boundsMethod
format_screen_stateMethod
format_placement_reportMethod
format_placement_report_summaryMethod
get_all_report_issues_textMethod
get_failure_reasonsMethod
report_has_issueMethod
assert_report_successMethod