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
DescriptorunityComponent
Component
Properties
CoherenceComponentName
public override string CoherenceComponentName { get; }
Property Value
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
Methods
DiffersFrom(Color, Color)
protected override bool DiffersFrom(Color first, Color second)
Parameters
Returns
GetCompressedValue(Color)
protected override Color GetCompressedValue(Color value)
Parameters
value
Color
Returns
GetInterpolatedAt(double)
public override Color GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, Color)
protected override Color Interpolate(double time, Color currentValue)