M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.GauntletUI.Style Class Reference

Inherits TaleWorlds.GauntletUI.IDataSource.

Public Member Functions

 Style (IEnumerable< BrushLayer > layers)
 
void FillFrom (Style style)
 
void AddLayer (StyleLayer layer)
 
void RemoveLayer (string layerName)
 
StyleLayer GetLayer (int index)
 
StyleLayer GetLayer (string name)
 
StyleLayer[] GetLayers ()
 
TextMaterial CreateTextMaterial (TwoDimensionDrawContext drawContext)
 
float GetValueAsFloat (BrushAnimationProperty.BrushAnimationPropertyType propertyType)
 
Color GetValueAsColor (BrushAnimationProperty.BrushAnimationPropertyType propertyType)
 
Sprite GetValueAsSprite (BrushAnimationProperty.BrushAnimationPropertyType propertyType)
 
void SetAsDefaultStyle ()
 

Properties

Style DefaultStyle [get, set]
 
string Name [get, set]
 
long Version [get]
 
string AnimationToPlayOnBegin [get, set]
 
int LayerCount [get]
 
StyleLayer DefaultLayer [get]
 
StyleAnimationMode AnimationMode [get, set]
 
Color FontColor [get, set]
 
Color TextGlowColor [get, set]
 
Color TextOutlineColor [get, set]
 
float TextOutlineAmount [get, set]
 
float TextGlowRadius [get, set]
 
float TextBlur [get, set]
 
float TextShadowOffset [get, set]
 
float TextShadowAngle [get, set]
 
float TextColorFactor [get, set]
 
float TextAlphaFactor [get, set]
 
float TextHueFactor [get, set]
 
float TextSaturationFactor [get, set]
 
float TextValueFactor [get, set]
 
Font Font [get, set]
 
FontStyle FontStyle [get, set]
 
int FontSize [get, set]
 

Constructor & Destructor Documentation

◆ Style()

TaleWorlds.GauntletUI.Style.Style ( IEnumerable< BrushLayer > layers)

Member Function Documentation

◆ FillFrom()

void TaleWorlds.GauntletUI.Style.FillFrom ( Style style)

◆ AddLayer()

void TaleWorlds.GauntletUI.Style.AddLayer ( StyleLayer layer)

◆ RemoveLayer()

void TaleWorlds.GauntletUI.Style.RemoveLayer ( string layerName)

◆ GetLayer() [1/2]

StyleLayer TaleWorlds.GauntletUI.Style.GetLayer ( int index)

◆ GetLayer() [2/2]

StyleLayer TaleWorlds.GauntletUI.Style.GetLayer ( string name)

◆ GetLayers()

StyleLayer[] TaleWorlds.GauntletUI.Style.GetLayers ( )

◆ CreateTextMaterial()

TextMaterial TaleWorlds.GauntletUI.Style.CreateTextMaterial ( TwoDimensionDrawContext drawContext)

◆ GetValueAsFloat()

float TaleWorlds.GauntletUI.Style.GetValueAsFloat ( BrushAnimationProperty.BrushAnimationPropertyType propertyType)

◆ GetValueAsColor()

Color TaleWorlds.GauntletUI.Style.GetValueAsColor ( BrushAnimationProperty.BrushAnimationPropertyType propertyType)

◆ GetValueAsSprite()

Sprite TaleWorlds.GauntletUI.Style.GetValueAsSprite ( BrushAnimationProperty.BrushAnimationPropertyType propertyType)

◆ SetAsDefaultStyle()

void TaleWorlds.GauntletUI.Style.SetAsDefaultStyle ( )

Property Documentation

◆ DefaultStyle

Style TaleWorlds.GauntletUI.Style.DefaultStyle
getset

◆ Name

string TaleWorlds.GauntletUI.Style.Name
getset

◆ Version

long TaleWorlds.GauntletUI.Style.Version
get

◆ AnimationToPlayOnBegin

string TaleWorlds.GauntletUI.Style.AnimationToPlayOnBegin
getset

◆ LayerCount

int TaleWorlds.GauntletUI.Style.LayerCount
get

◆ DefaultLayer

StyleLayer TaleWorlds.GauntletUI.Style.DefaultLayer
get

◆ AnimationMode

StyleAnimationMode TaleWorlds.GauntletUI.Style.AnimationMode
getset

◆ FontColor

Color TaleWorlds.GauntletUI.Style.FontColor
getset

◆ TextGlowColor

Color TaleWorlds.GauntletUI.Style.TextGlowColor
getset

◆ TextOutlineColor

Color TaleWorlds.GauntletUI.Style.TextOutlineColor
getset

◆ TextOutlineAmount

float TaleWorlds.GauntletUI.Style.TextOutlineAmount
getset

◆ TextGlowRadius

float TaleWorlds.GauntletUI.Style.TextGlowRadius
getset

◆ TextBlur

float TaleWorlds.GauntletUI.Style.TextBlur
getset

◆ TextShadowOffset

float TaleWorlds.GauntletUI.Style.TextShadowOffset
getset

◆ TextShadowAngle

float TaleWorlds.GauntletUI.Style.TextShadowAngle
getset

◆ TextColorFactor

float TaleWorlds.GauntletUI.Style.TextColorFactor
getset

◆ TextAlphaFactor

float TaleWorlds.GauntletUI.Style.TextAlphaFactor
getset

◆ TextHueFactor

float TaleWorlds.GauntletUI.Style.TextHueFactor
getset

◆ TextSaturationFactor

float TaleWorlds.GauntletUI.Style.TextSaturationFactor
getset

◆ TextValueFactor

float TaleWorlds.GauntletUI.Style.TextValueFactor
getset

◆ Font

Font TaleWorlds.GauntletUI.Style.Font
getset

◆ FontStyle

FontStyle TaleWorlds.GauntletUI.Style.FontStyle
getset

◆ FontSize

int TaleWorlds.GauntletUI.Style.FontSize
getset