feat(debugvm): mirror RenderingDiagnostics indoor probes
Live-toggle wrappers for the five indoor-rendering probe flags plus the ProbeIndoorAll master cascade. Pattern matches existing ProbeResolve / ProbeCell / ProbeBuilding / ProbeAutoWalk mirrors so a checkbox flip in the DebugPanel takes effect on the next frame. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b57cb42fd7
commit
fda8d65158
1 changed files with 66 additions and 0 deletions
|
|
@ -291,6 +291,72 @@ public sealed class DebugVM
|
||||||
set => PhysicsDiagnostics.ProbeAutoWalkEnabled = value;
|
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.
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.ProbeIndoorWalkEnabled</c>
|
||||||
|
/// (env var <c>ACDREAM_PROBE_INDOOR_WALK</c>).
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorWalk
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.ProbeIndoorWalkEnabled;
|
||||||
|
set => RenderingDiagnostics.ProbeIndoorWalkEnabled = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.ProbeIndoorLookupEnabled</c>
|
||||||
|
/// (env var <c>ACDREAM_PROBE_INDOOR_LOOKUP</c>).
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorLookup
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.ProbeIndoorLookupEnabled;
|
||||||
|
set => RenderingDiagnostics.ProbeIndoorLookupEnabled = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.ProbeIndoorUploadEnabled</c>
|
||||||
|
/// (env var <c>ACDREAM_PROBE_INDOOR_UPLOAD</c>).
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorUpload
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.ProbeIndoorUploadEnabled;
|
||||||
|
set => RenderingDiagnostics.ProbeIndoorUploadEnabled = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.ProbeIndoorXformEnabled</c>
|
||||||
|
/// (env var <c>ACDREAM_PROBE_INDOOR_XFORM</c>).
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorXform
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.ProbeIndoorXformEnabled;
|
||||||
|
set => RenderingDiagnostics.ProbeIndoorXformEnabled = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.ProbeIndoorCullEnabled</c>
|
||||||
|
/// (env var <c>ACDREAM_PROBE_INDOOR_CULL</c>).
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorCull
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.ProbeIndoorCullEnabled;
|
||||||
|
set => RenderingDiagnostics.ProbeIndoorCullEnabled = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Runtime mirror of <c>RenderingDiagnostics.IndoorAll</c> — toggles all
|
||||||
|
/// five indoor probes together. No dedicated env var; set any individual
|
||||||
|
/// probe env var or use <c>ACDREAM_PROBE_INDOOR_ALL</c> to initialize
|
||||||
|
/// all five flags on at startup.
|
||||||
|
/// </summary>
|
||||||
|
public bool ProbeIndoorAll
|
||||||
|
{
|
||||||
|
get => RenderingDiagnostics.IndoorAll;
|
||||||
|
set => RenderingDiagnostics.IndoorAll = value;
|
||||||
|
}
|
||||||
|
|
||||||
// ── Chase camera tunables (forward to CameraDiagnostics) ──────────
|
// ── Chase camera tunables (forward to CameraDiagnostics) ──────────
|
||||||
|
|
||||||
/// <summary>Runtime mirror of <see cref="CameraDiagnostics.UseRetailChaseCamera"/>.</summary>
|
/// <summary>Runtime mirror of <see cref="CameraDiagnostics.UseRetailChaseCamera"/>.</summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue