Table of Contents

Class DoubleBinding

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

Constructors

DoubleBinding()

protected DoubleBinding()

DoubleBinding(Descriptor, Component)

public DoubleBinding(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 double Value { get; set; }

Property Value

double

Methods

DiffersFrom(double, double)

protected override bool DiffersFrom(double first, double second)

Parameters

first double
second double

Returns

bool

GetCompressedValue(double)

protected override double GetCompressedValue(double value)

Parameters

value double

Returns

double

GetInterpolatedAt(double)

public override double GetInterpolatedAt(double time)

Parameters

time double

Returns

double

Interpolate(double, double)

protected override double Interpolate(double time, double currentValue)

Parameters

time double
currentValue double

Returns

double