diff --git a/src/AcDream.UI.Abstractions/Panels/Debug/DebugVM.cs b/src/AcDream.UI.Abstractions/Panels/Debug/DebugVM.cs index baf1055..b051dc0 100644 --- a/src/AcDream.UI.Abstractions/Panels/Debug/DebugVM.cs +++ b/src/AcDream.UI.Abstractions/Panels/Debug/DebugVM.cs @@ -291,6 +291,72 @@ public sealed class DebugVM set => PhysicsDiagnostics.ProbeAutoWalkEnabled = value; } + // ── Indoor rendering diagnostics (2026-05-19) ─────────────────── + // Mirror RenderingDiagnostics statics so DebugPanel checkbox toggles + // take effect on the next render frame without relaunching. + + /// + /// Runtime mirror of RenderingDiagnostics.ProbeIndoorWalkEnabled + /// (env var ACDREAM_PROBE_INDOOR_WALK). + /// + public bool ProbeIndoorWalk + { + get => RenderingDiagnostics.ProbeIndoorWalkEnabled; + set => RenderingDiagnostics.ProbeIndoorWalkEnabled = value; + } + + /// + /// Runtime mirror of RenderingDiagnostics.ProbeIndoorLookupEnabled + /// (env var ACDREAM_PROBE_INDOOR_LOOKUP). + /// + public bool ProbeIndoorLookup + { + get => RenderingDiagnostics.ProbeIndoorLookupEnabled; + set => RenderingDiagnostics.ProbeIndoorLookupEnabled = value; + } + + /// + /// Runtime mirror of RenderingDiagnostics.ProbeIndoorUploadEnabled + /// (env var ACDREAM_PROBE_INDOOR_UPLOAD). + /// + public bool ProbeIndoorUpload + { + get => RenderingDiagnostics.ProbeIndoorUploadEnabled; + set => RenderingDiagnostics.ProbeIndoorUploadEnabled = value; + } + + /// + /// Runtime mirror of RenderingDiagnostics.ProbeIndoorXformEnabled + /// (env var ACDREAM_PROBE_INDOOR_XFORM). + /// + public bool ProbeIndoorXform + { + get => RenderingDiagnostics.ProbeIndoorXformEnabled; + set => RenderingDiagnostics.ProbeIndoorXformEnabled = value; + } + + /// + /// Runtime mirror of RenderingDiagnostics.ProbeIndoorCullEnabled + /// (env var ACDREAM_PROBE_INDOOR_CULL). + /// + public bool ProbeIndoorCull + { + get => RenderingDiagnostics.ProbeIndoorCullEnabled; + set => RenderingDiagnostics.ProbeIndoorCullEnabled = value; + } + + /// + /// Runtime mirror of RenderingDiagnostics.IndoorAll — toggles all + /// five indoor probes together. No dedicated env var; set any individual + /// probe env var or use ACDREAM_PROBE_INDOOR_ALL to initialize + /// all five flags on at startup. + /// + public bool ProbeIndoorAll + { + get => RenderingDiagnostics.IndoorAll; + set => RenderingDiagnostics.IndoorAll = value; + } + // ── Chase camera tunables (forward to CameraDiagnostics) ────────── /// Runtime mirror of .