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
styleLayer
IBrushLayerData
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(BrushLayerState, IBrushLayerData, float)
public void LerpFrom(BrushLayerState start, IBrushLayerData end, float ratio)
Parameters
start
BrushLayerStateend
IBrushLayerDataratio
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
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
currentState
BrushLayerStatestartValue
BrushAnimationKeyFrameendValue
BrushAnimationKeyFramepropertyType
BrushAnimationProperty.BrushAnimationPropertyTyperatio
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).