debugDraw method
- DebugDraw draw
Draws to the debug overlay every frame, in the same space as draw.
Only reached while the scene renders with debug: true.
Implementation
@nonVirtual
void debugDraw(DebugDraw draw) {
(_debugDraws ??= []).add(draw);
}