Table of Contents

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

float

Color

public Color Color

Field Value

Color

ColorFactor

public float ColorFactor

Field Value

float

HueFactor

public float HueFactor

Field Value

float

OverlayXOffset

public float OverlayXOffset

Field Value

float

OverlayYOffset

public float OverlayYOffset

Field Value

float

SaturationFactor

public float SaturationFactor

Field Value

float

Sprite

public Sprite Sprite

Field Value

Sprite

ValueFactor

public float ValueFactor

Field Value

float

XOffset

public float XOffset

Field Value

float

YOffset

public float YOffset

Field Value

float

Methods

FillFrom(IBrushLayerData)

public void FillFrom(IBrushLayerData styleLayer)

Parameters

styleLayer IBrushLayerData

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(BrushLayerState, IBrushLayerData, float)

public void LerpFrom(BrushLayerState start, IBrushLayerData end, float ratio)

Parameters

start BrushLayerState
end IBrushLayerData
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

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 BrushLayerState
startValue BrushAnimationKeyFrame
endValue BrushAnimationKeyFrame
propertyType BrushAnimationProperty.BrushAnimationPropertyType
ratio 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).