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.
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 | |
v | Property | |
format_debug | Method | |
parts | Property | |
format_indicator | Method | |
display_name | Property | |
pos_str | Property | |
extra | Property | |
rules_arr | Property | |
format_tile_list | Method | |
parts | Property | |
format_indicator_list | Method | |
lines | Property | |
format_stack_summary | Method | |
parts | Property | |
n | Property | |
entry | Property | |
src | Property | |
line_num | Property | |
func_name | Property | |
format_node_label | Method | |
n | Property | |
format_visibility_context | Method | |
hidden_ancestor | Property | |
p | Property | |
self_ci | Property | |
self_alpha | Property | |
self_z | Property | |
self_vis_in_tree | Property | |
visual_alpha | Property | |
visual_z | Property | |
visual_vis_in_tree | Property | |
visual_info | Property | |
cam_cur | Property | |
node_pos | Property | |
describe_collision_layers | Method | |
co | Property | |
bits | Property | |
ok | Property | |
describe_collision_layers_3d | Method | |
co | Property | |
bits | Property | |
ok | Property | |
format_shape_cast_collisions | Method | |
count | Property | |
colliders_info | Property | |
c | Property | |
n | Property | |
format_shape_cast_collisions_3d | Method | |
count | Property | |
colliders_info | Property | |
c | Property | |
n | Property | |
format_canvas_item_state | Method | |
cls_name | Property | |
base | Property | |
sp | Property | |
tx | Property | |
aspr | Property | |
camera_world_bounds | Method | |
vp_rect | Property | |
half | Property | |
cam_center | Property | |
set_lifecycle_trace_active | Method | |
trace_placeable_write | Method | |
stack | Property | |
stack_text | Property | |
trace_placeable_read | Method | |
tracked_id | Property | |
tracked_freed | Property | |
matched | Property | |
id_now | Property | |
write_time | Property | |
now_time | Property |
Source
addons/grid_placement/utils/placement_diagnostics.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs