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
drawContextTwoDimensionDrawContext
Returns
FillFrom(Style)
public void FillFrom(Style style)
Parameters
styleStyle
GetValueAsColor(BrushAnimationPropertyType)
public Color GetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyType
Returns
GetValueAsFloat(BrushAnimationPropertyType)
public float GetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyType
Returns
GetValueAsSprite(BrushAnimationPropertyType)
public Sprite GetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyType
Returns
LerpFrom(BrushState, Style, float)
public void LerpFrom(BrushState start, Style end, float ratio)
Parameters
startBrushStateendStyleratiofloat
SetValueAsColor(BrushAnimationPropertyType, in Color)
public void SetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType, in Color value)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyTypevalueColor
SetValueAsFloat(BrushAnimationPropertyType, float)
public void SetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType, float value)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyTypevaluefloat
SetValueAsSprite(BrushAnimationPropertyType, Sprite)
public void SetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType, Sprite value)
Parameters
propertyTypeBrushAnimationProperty.BrushAnimationPropertyTypevalueSprite
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).