Class RenderSwitches
Named runtime switches modules offer the rendering test beds (the browser probe's SetSetting, the native player's --set-a / --set-b): "ambientLife=0" turns the Ambient Life module's animals off for an A/B, and the test bed names no module (Phase 4 of the core and modules plan, 2026-11-17).
public static class RenderSwitches
- Inheritance
-
RenderSwitches
- Inherited Members
Properties
Names
The registered switches' names.
public static IEnumerable<string> Names { get; }
Property Value
Methods
Register(string, Action<string>)
Registers a switch; registering a name again replaces it.
public static void Register(string name, Action<string> apply)
Parameters
TryApply(string, string)
Applies a registered switch; false when no installed module offers name.
public static bool TryApply(string name, string value)