Table of Contents

Struct BlendColor

Namespace
OmegaGUI.Render
Assembly
OmegaGUI.dll

Blends colors

public struct BlendColor
Inherited Members
Extension Methods

Fields

Current

public Color4 Current

Field Value

Color4

States

public Color4[] States

Field Value

Color4[]

Methods

Blend(ControlState, float)

Blend the colors together

public void Blend(ControlState state, float elapsedTime)

Parameters

state ControlState
elapsedTime float

Blend(ControlState, float, float)

Blend the colors together

public void Blend(ControlState state, float elapsedTime, float rate)

Parameters

state ControlState
elapsedTime float
rate float

Initialize(Color4)

Initialize the color blending

public void Initialize(Color4 defaultColor)

Parameters

defaultColor Color4

Initialize(Color4, Color4, Color4)

Initialize the color blending

public void Initialize(Color4 defaultColor, Color4 disabledColor, Color4 hiddenColor)

Parameters

defaultColor Color4
disabledColor Color4
hiddenColor Color4