WindowSpec.ShouldRender property
The single source of visibility truth (hide = !ShouldRender(), evaluated each apply ~10 Hz). Compiler-required: every WindowSpec MUST set it or the build fails. Read whatever you want — Phase, UiState, your own state — via the plugin’s captured services. Use () => true for always-on chrome, () => _services.ClientState.Phase == GamePhase.World for a gameplay window.
public Func<bool> ShouldRender { get; set; }See Also
Section titled “See Also”- record WindowSpec
- namespace Stellar.Abstractions.Domain