Skip to content

Class

PlacementDebugSettings

Generated GDScript class reference for GridPlacement.PlacementDebugSettings.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

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 PlacementResource

Members

NameKindSummary
debug_level_changedSignalThe message verbosity level for plugin logging typically handeled through PlacementLogger objects resolved through the PlacementSession. Emitted when the debug level changes to a new value
grid_positioner_log_mode_changedSignal
levelProperty
grid_positioner_log_modeProperty
draw_rule_check_indicator_debugPropertyEnable or disable drawing of RuleCheckIndicator2D debug overlays.
indicator_collision_point_min_radiusPropertyRuleCheckIndicator2D 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_scalePropertyScale factor applied to collision point radius based on the indicator's grid size.
indicator_connection_line_min_widthPropertyMinimum pixel width used when drawing connection lines for indicators.
indicator_connection_line_scalePropertyScale factor applied to connection line width based on the indicator's grid size.
indicator_collision_point_colorPropertyColor used to draw collision points (default: red).
indicator_connection_line_colorPropertyColor for helper connection lines (default: orange).
indicator_outline_colorPropertyOutline color used when drawing indicator shapes (default: white).
set_debug_levelMethod
get_editor_issuesMethod
get_runtime_issuesMethod