Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting Class Referencesealed

One annotated setting, with a derived default and portable value type. More...

Public Member Functions

 Setting (string key, string label, string description, string kind, string text, float number, float minimum, float maximum, Texture2D image, string source, string unit, bool minimumExclusive, string variable)
 Records a compiler-derived setting. No fallback/default is invented here.
bool AcceptsNumber (float number)
 Tests a number against explicit constraints without coercing player strings.

Properties

string Description [get]
 Authored optional description, never inferred.
Texture2D Image [get]
 Borrowed authored raster reference, including explicit none.
string Key [get]
 Stable player-section property.
string Kind [get]
 Derived portable type: number, color or image.
string Label [get]
 Authored friendly label.
float Maximum [get]
 Inclusive portable upper bound.
float Minimum [get]
 Inclusive portable lower bound; positive dimensions use a strict zero bound.
bool MinimumExclusive [get]
 Whether the authored lower bound is exclusive.
float Number [get]
 Default pixel value.
string Source [get]
 Original declaring asset path, retained for diagnostics.
string Text [get]
 Default normalized hexadecimal color, or null.
string Unit [get]
 Explicit numeric unit; null for color/image settings.
string Variable [get]
 Authoritative custom-property name retained for diagnostics and later editor authoring.

Private Attributes

string _description
Texture2D _image
string _key
string _kind
string _label
float _maximum
float _minimum
bool _minimumExclusive
float _number
string _source
string _text
string _unit
string _variable

Detailed Description

One annotated setting, with a derived default and portable value type.

Constructor & Destructor Documentation

◆ Setting()

GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Setting ( string key,
string label,
string description,
string kind,
string text,
float number,
float minimum,
float maximum,
Texture2D image,
string source,
string unit,
bool minimumExclusive,
string variable )
inline

Records a compiler-derived setting. No fallback/default is invented here.

Member Function Documentation

◆ AcceptsNumber()

bool GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.AcceptsNumber ( float number)
inline

Tests a number against explicit constraints without coercing player strings.

Field Documentation

◆ _description

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._description
private

◆ _image

Texture2D GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._image
private

◆ _key

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._key
private

◆ _kind

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._kind
private

◆ _label

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._label
private

◆ _maximum

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._maximum
private

◆ _minimum

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._minimum
private

◆ _minimumExclusive

bool GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._minimumExclusive
private

◆ _number

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._number
private

◆ _source

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._source
private

◆ _text

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._text
private

◆ _unit

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._unit
private

◆ _variable

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting._variable
private

Property Documentation

◆ Description

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Description
get

Authored optional description, never inferred.

◆ Image

Texture2D GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Image
get

Borrowed authored raster reference, including explicit none.

◆ Key

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Key
get

Stable player-section property.

◆ Kind

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Kind
get

Derived portable type: number, color or image.

◆ Label

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Label
get

Authored friendly label.

◆ Maximum

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Maximum
get

Inclusive portable upper bound.

◆ Minimum

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Minimum
get

Inclusive portable lower bound; positive dimensions use a strict zero bound.

◆ MinimumExclusive

bool GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.MinimumExclusive
get

Whether the authored lower bound is exclusive.

◆ Number

float GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Number
get

Default pixel value.

◆ Source

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Source
get

Original declaring asset path, retained for diagnostics.

◆ Text

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Text
get

Default normalized hexadecimal color, or null.

◆ Unit

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Unit
get

Explicit numeric unit; null for color/image settings.

◆ Variable

string GWG.WindowFramework.Theming.DeveloperThemeDefinition.Setting.Variable
get

Authoritative custom-property name retained for diagnostics and later editor authoring.