Struct BrushState
- Namespace
- TaleWorlds.GauntletUI
- Assembly
- TaleWorlds.GauntletUI.dll
public struct BrushState : IBrushAnimationState, IDataSource
- Implements
- Inherited Members
- Extension Methods
Fields
FontColor
public Color FontColor
Field Value
TextAlphaFactor
public float TextAlphaFactor
Field Value
TextBlur
public float TextBlur
Field Value
TextColorFactor
public float TextColorFactor
Field Value
TextGlowColor
public Color TextGlowColor
Field Value
TextGlowRadius
public float TextGlowRadius
Field Value
TextHueFactor
public float TextHueFactor
Field Value
TextOutlineAmount
public float TextOutlineAmount
Field Value
TextOutlineColor
public Color TextOutlineColor
Field Value
TextSaturationFactor
public float TextSaturationFactor
Field Value
TextShadowAngle
public float TextShadowAngle
Field Value
TextShadowOffset
public float TextShadowOffset
Field Value
TextValueFactor
public float TextValueFactor
Field Value
Methods
CreateTextMaterial(TwoDimensionDrawContext)
public TextMaterial CreateTextMaterial(TwoDimensionDrawContext drawContext)
Parameters
drawContext
TwoDimensionDrawContext
Returns
FillFrom(Style)
public void FillFrom(Style style)
Parameters
style
Style
GetValueAsColor(BrushAnimationPropertyType)
public Color GetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyType
Returns
GetValueAsFloat(BrushAnimationPropertyType)
public float GetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyType
Returns
GetValueAsSprite(BrushAnimationPropertyType)
public Sprite GetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyType
Returns
LerpFrom(BrushState, Style, float)
public void LerpFrom(BrushState start, Style end, float ratio)
Parameters
start
BrushStateend
Styleratio
float
SetValueAsColor(BrushAnimationPropertyType, in Color)
public void SetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType, in Color value)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyTypevalue
Color
SetValueAsFloat(BrushAnimationPropertyType, float)
public void SetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType, float value)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyTypevalue
float
SetValueAsSprite(BrushAnimationPropertyType, Sprite)
public void SetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType, Sprite value)
Parameters
propertyType
BrushAnimationProperty.BrushAnimationPropertyTypevalue
Sprite
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).