debug property
Surface debug views: show a resolved material channel, a geometry attribute, an identity color, or a validation flag in place of the lit result, optionally split against it, plus overlays such as wireframe.
Works in every build. While anything here is active the frame skips
its post effects, temporal and post anti-aliasing, so the pixels on
screen are the values the materials produced. A Node.debugView
overrides SceneDebugSettings.view for its subtree.
Implementation
final SceneDebugSettings debug = SceneDebugSettings();