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.
Debug settings for logging and debugging output. Includes settings for visual debugging as well such as RuleCheckIndicator2D debug _draw calls to the screen. Note: Feature-specific logging toggles (e.g., GridPositioner2D logging flags) still only produce output when the PlacementLogger level is set to VERBOSE or higher.
Source: addons/grid_placement/debug/placement_debug_settings.gd
Syntax
class PlacementDebugSettings extends PlacementResourceMembers
| Name | Kind | Summary |
|---|---|---|
debug_level_changed | Event | The message verbosity level for plugin logging typically handeled through PlacementLogger objects resolved through the PlacementContainer. Emitted when the debug level changes to a new value |
grid_positioner_log_mode_changed | Event | |
level | Property | |
grid_positioner_log_mode | Property | |
draw_rule_check_indicator_debug | Property | Enable or disable drawing of RuleCheckIndicator2D debug overlays. |
indicator_collision_point_min_radius | Property | RuleCheckIndicator2D visual tuning exposed in debug settings so teams can centrally adjust debug overlays without editing code. Minimum pixel radius used when drawing collision points for indicators. |
indicator_collision_point_scale | Property | Scale factor applied to collision point radius based on the indicator's grid size. |
indicator_connection_line_min_width | Property | Minimum pixel width used when drawing connection lines for indicators. |
indicator_connection_line_scale | Property | Scale factor applied to connection line width based on the indicator's grid size. |
indicator_collision_point_color | Property | Color used to draw collision points (default: red). |
indicator_connection_line_color | Property | Color for helper connection lines (default: orange). |
indicator_outline_color | Property | Outline color used when drawing indicator shapes (default: white). |
set_debug_level | Method | |
get_editor_issues | Method | |
get_runtime_issues | Method |
Source
addons/grid_placement/debug/placement_debug_settings.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs