class MAGES::Theme::FontData¶
Overview¶
Represents the data required for creating/rendering labels. More…
class FontData: public ICloneable { public: // properties TMP_FontAsset FontAsset; float Size; FontStyles Style; Color Color; Color BackgroundColor; Color OutlineColor; float OutlineWidth; Material OutlineMaterialVariant; Material OverlayMaterialVariant; Material OutlineOverlayMaterialVariant; // methods object Clone(); };
Detailed Documentation¶
Represents the data required for creating/rendering labels.
Properties¶
TMP_FontAsset FontAsset
Gets or sets the font asset.
float Size
Gets or sets the font size.
FontStyles Style
Gets or sets the font style.
Color Color
Gets or sets the font color.
Color BackgroundColor
Gets or sets the background color.
Color OutlineColor
Gets or sets the outline color.
float OutlineWidth
Gets or sets the outline width.
Material OutlineMaterialVariant
Gets or sets the outline material variant.
Material OverlayMaterialVariant
Gets or sets the overlay material variant.
Material OutlineOverlayMaterialVariant
Gets or sets the outline overlay material variant.
Methods¶
object Clone()
Clone the object.
Returns:
A copy of this.