Blending.Blend

Static Method in Blending

Declaration

public static Color Blend(Color a, Color b, Blending.BlendFunction function)

Description

Blends two colors together using the given blend function.

Parameters

aThe base color.
bThe blend color.
function

Returns

Color

Overload

Declaration

public static Color Blend(this BlendMode blendMode, Color a, Color b)

Description

Blends two colors together using the specified blend mode.

Parameters

blendModeThe blend mode to use.
aThe base color.
bThe blend color.

Returns

ColorThe blended color.