WindowRegistration record
A registered interactive window: its spec + the root element to render. TitleLeading (when set) replaces the title-bar text (e.g. a logo + wordmark row); TitleTrailing is built right-aligned before the ✕ (e.g. mode/rotate toggles). Both null ⇒ the chrome draws the plain Title text. OnClose (when set) is invoked by the ✕ instead of just hiding the GameObject — wire it to the window’s SetVisible(false) so IsShown stays in sync (otherwise a rail/hotkey toggle needs two presses to reopen after a ✕ close).
public record WindowRegistrationPublic Members
Section titled “Public Members”| name | description |
|---|---|
| WindowRegistration(…) | A registered interactive window: its spec + the root element to render. TitleLeading (when set) replaces the title-bar text (e.g. a logo + wordmark row); TitleTrailing is built right-aligned before the ✕ (e.g. mode/rotate toggles). Both null ⇒ the chrome draws the plain Title text. OnClose (when set) is invoked by the ✕ instead of just hiding the GameObject — wire it to the window’s SetVisible(false) so IsShown stays in sync (otherwise a rail/hotkey toggle needs two presses to reopen after a ✕ close). |
| OnClose { get; set; } | |
| Root { get; set; } | |
| Spec { get; set; } | |
| TitleLeading { get; set; } | |
| TitleTrailing { get; set; } |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services