GBClassCountLogger
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Utility to snapshot and diff class instance counts within the active scene tree. NOTE: This only inspects Nodes reachable from the scene tree root. Orphan/leaked nodes that are completely detached will not be seen here, but overall object count deltas (Performance.OBJECT_COUNT) are also captured for context.
Source File: /addons/grid_building/test/utilities/diagnostics/class_count_logger.gd
Extends: RefCounted
Public Methods
snapshot_tree
| |
Recursively counts node classes under the provided root.
diff_increases
| |
Returns classes whose count increased (positive diff) between old_counts and new_counts.
total_object_count
| |
Returns total object count (all Object instances) if monitor available, else -1.
Private Methods
_count_classes
| |
Flags: private
Grid Building v5.0.8 | Generated 24/05/2026