Table of Contents

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

Color

TextAlphaFactor

public float TextAlphaFactor

Field Value

float

TextBlur

public float TextBlur

Field Value

float

TextColorFactor

public float TextColorFactor

Field Value

float

TextGlowColor

public Color TextGlowColor

Field Value

Color

TextGlowRadius

public float TextGlowRadius

Field Value

float

TextHueFactor

public float TextHueFactor

Field Value

float

TextOutlineAmount

public float TextOutlineAmount

Field Value

float

TextOutlineColor

public Color TextOutlineColor

Field Value

Color

TextSaturationFactor

public float TextSaturationFactor

Field Value

float

TextShadowAngle

public float TextShadowAngle

Field Value

float

TextShadowOffset

public float TextShadowOffset

Field Value

float

TextValueFactor

public float TextValueFactor

Field Value

float

Methods

CreateTextMaterial(TwoDimensionDrawContext)

public TextMaterial CreateTextMaterial(TwoDimensionDrawContext drawContext)

Parameters

drawContext TwoDimensionDrawContext

Returns

TextMaterial

FillFrom(Style)

public void FillFrom(Style style)

Parameters

style Style

GetValueAsColor(BrushAnimationPropertyType)

public Color GetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType

Returns

Color

GetValueAsFloat(BrushAnimationPropertyType)

public float GetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType

Returns

float

GetValueAsSprite(BrushAnimationPropertyType)

public Sprite GetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType

Returns

Sprite

LerpFrom(BrushState, Style, float)

public void LerpFrom(BrushState start, Style end, float ratio)

Parameters

start BrushState
end Style
ratio float

SetValueAsColor(BrushAnimationPropertyType, in Color)

public void SetValueAsColor(BrushAnimationProperty.BrushAnimationPropertyType propertyType, in Color value)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType
value Color

SetValueAsFloat(BrushAnimationPropertyType, float)

public void SetValueAsFloat(BrushAnimationProperty.BrushAnimationPropertyType propertyType, float value)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType
value float

SetValueAsSprite(BrushAnimationPropertyType, Sprite)

public void SetValueAsSprite(BrushAnimationProperty.BrushAnimationPropertyType propertyType, Sprite value)

Parameters

propertyType BrushAnimationProperty.BrushAnimationPropertyType
value Sprite

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).