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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
instance_id | Property | |
weak_ref | Property | |
last_write_source | Property | |
write_stack | Property | |
time_msec | Property | |
set_write | Method | |
is_tracked_ref_freed | Method | |
format_debug | Method | |
format_indicator | Method | |
format_tile_list | Method | |
format_indicator_list | Method | |
format_stack_summary | Method | |
format_node_label | Method | |
format_visibility_context | Method | |
describe_collision_layers | Method | |
describe_collision_layers_3d | Method | |
format_shape_cast_collisions | Method | |
format_shape_cast_collisions_3d | Method | |
format_canvas_item_state | Method | |
camera_world_bounds | Method | |
set_lifecycle_trace_active | Method | |
trace_placeable_write | Method | |
trace_placeable_read | Method | |
is_inside_camera_bounds | Method | |
is_offscreen | Method | |
format_screen_state | Method |