Table of Contents

Class ColorBinding

Namespace
Coherence.Toolkit.Bindings.ValueBindings
Assembly
Coherence.Toolkit.dll
public class ColorBinding : ValueBinding<Color>
Inheritance
ColorBinding
Inherited Members

Constructors

ColorBinding()

protected ColorBinding()

ColorBinding(Descriptor, Component)

public ColorBinding(Descriptor descriptor, Component unityComponent)

Parameters

descriptor Descriptor
unityComponent Component

Properties

CoherenceComponentName

public override string CoherenceComponentName { get; }

Property Value

string

Value

The current value of the target field/property on the binding's Unity component. This is generally the value you'll see in the inspector.

public override Color Value { get; set; }

Property Value

Color

Methods

DiffersFrom(Color, Color)

protected override bool DiffersFrom(Color first, Color second)

Parameters

first Color
second Color

Returns

bool

GetCompressedValue(Color)

protected override Color GetCompressedValue(Color value)

Parameters

value Color

Returns

Color

GetInterpolatedAt(double)

public override Color GetInterpolatedAt(double time)

Parameters

time double

Returns

Color

Interpolate(double, Color)

protected override Color Interpolate(double time, Color currentValue)

Parameters

time double
currentValue Color

Returns

Color