|
Window Framework for UI Toolkit v2.0.x
|
Build-prepared supported values embedded in the existing theme configuration. More...
Data Structures | |
| class | Entry |
| One serialized derived catalog value; validation is deferred to TryGetValues. More... | |
Public Member Functions | |
| PreparedThemeSnapshot (ThemeStyleSheet source, string fingerprint, List< Entry > entries, string report) | |
| Creates preparation output without modifying source stylesheets. | |
| void | SetCopyLimitations (string report) |
| Records a bounded plain-text preparation scope disclosure, without modifying source. | |
| void | SetDeveloperDefinitions (IEnumerable< DeveloperThemeDefinition > definitions) |
| Retains validated detached definitions from the configured stylesheet graph. | |
| void | SetPreparedFont (string id, Font font) |
| Records a font resolved from the authoritative source during editor preparation. | |
| bool | TryGetValues (ThemeStyleSheet source, out PlayerThemeValues values, out string error) |
| Validates and materializes a complete supported snapshotfor the matching source. | |
Properties | |
| string | CopyLimitations [get] |
| Gets the source features not serialized by portable Copy; does not imply visual parity. | |
| IReadOnlyList< DeveloperThemeDefinition > | DeveloperDefinitions [get] |
| Derived developer metadata and consumers, not another authored settings asset. | |
| string | Fingerprint [get] |
| Gets dependency fingerprint recorded during editor preparation. | |
| Font | Font [get] |
| Gets the borrowed configured font reference; null denotes inherited panel font. | |
| string | FontId [get] |
| Gets the build-prepared shipped font identifier; absent on older snapshots. | |
| string | Report [get] |
| Gets bounded preparation failure explanation, empty on success. | |
Static Private Member Functions | |
| static void | ValidateDeveloperDefinitions (List< DeveloperThemeDefinition > definitions) |
Private Attributes | |
| string | _copyLimitations |
| List< DeveloperThemeDefinition > | _developerDefinitions = new List<DeveloperThemeDefinition>() |
| List< Entry > | _entries = new List<Entry>() |
| string | _fingerprint |
| Font | _font |
| string | _fontId |
| string | _report |
| ThemeStyleSheet | _source |
Build-prepared supported values embedded in the existing theme configuration.
Not an independently shipped asset or a second palette authority. Editor preparation derives these entries from referenced stylesheet inputs. References retain Unity GUID relocation semantics. Runtime does not parse USS, access AssetDatabase or own referenced textures.
|
inline |
Creates preparation output without modifying source stylesheets.
| source | Authoritative referenced stylesheet. |
| fingerprint | Editor dependency fingerprint. |
| entries | Derived values; no fallback palette. |
| report | Preparation issues that must block complete copy. |


|
inline |
Records a bounded plain-text preparation scope disclosure, without modifying source.
| report | Unsupported selector/layout/import scope explanation. |
|
inline |
Retains validated detached definitions from the configured stylesheet graph.
Optional labels/descriptions are retained for deferred editor work, never added to player JSON. Callers must not mutate these records; all authored defaults remain in source USS.

|
inline |
Records a font resolved from the authoritative source during editor preparation.
| id | Stable asset-derived identifier, or panel-default for inherited fonts. |
| font | Trusted build-referenced font; never a player file. |
|
inline |
Validates and materializes a complete supported snapshotfor the matching source.
| source | Current theme stylesheet reference. |
| values | Complete detached value model on success; null on failure. |
| error | Actionable preparation/schema failure. |
Editor/build tooling must refresh fingerprints when dependencies change. Runtime cannot compute a source fingerprint. This validates stored types, ranges and source identity.


|
inlinestaticprivate |

|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
get |
Gets the source features not serialized by portable Copy; does not imply visual parity.
|
get |
Derived developer metadata and consumers, not another authored settings asset.
|
get |
Gets dependency fingerprint recorded during editor preparation.
|
get |
Gets the borrowed configured font reference; null denotes inherited panel font.
|
get |
Gets the build-prepared shipped font identifier; absent on older snapshots.
|
get |
Gets bounded preparation failure explanation, empty on success.