Struct BrushLayerState
- Namespace
- TaleWorlds.GauntletUI
- Assembly
- TaleWorlds.GauntletUI.dll
public struct BrushLayerState : IBrushAnimationState, IDataSource
- Implements
- Inherited Members
- Extension Methods
Fields
AlphaFactor
public float AlphaFactor
Field Value
Color
public Color Color
Field Value
ColorFactor
public float ColorFactor
Field Value
HueFactor
public float HueFactor
Field Value
OverlayXOffset
public float OverlayXOffset
Field Value
OverlayYOffset
public float OverlayYOffset
Field Value
SaturationFactor
public float SaturationFactor
Field Value
Sprite
public Sprite Sprite
Field Value
ValueFactor
public float ValueFactor
Field Value
XOffset
public float XOffset
Field Value
YOffset
public float YOffset
Field Value
Methods
FillFrom(IBrushLayerData)
public void FillFrom(IBrushLayerData styleLayer)
Parameters
styleLayerIBrushLayerData
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(BrushLayerState, IBrushLayerData, float)
public void LerpFrom(BrushLayerState start, IBrushLayerData end, float ratio)
Parameters
startBrushLayerStateendIBrushLayerDataratiofloat
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
SetValueAsLerpOfValues(ref BrushLayerState, in BrushAnimationKeyFrame, in BrushAnimationKeyFrame, BrushAnimationPropertyType, float)
public static void SetValueAsLerpOfValues(ref BrushLayerState currentState, in BrushAnimationKeyFrame startValue, in BrushAnimationKeyFrame endValue, BrushAnimationProperty.BrushAnimationPropertyType propertyType, float ratio)
Parameters
currentStateBrushLayerStatestartValueBrushAnimationKeyFrameendValueBrushAnimationKeyFramepropertyTypeBrushAnimationProperty.BrushAnimationPropertyTyperatiofloat
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).