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
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 double Value { get; set; }
Property Value
Methods
DiffersFrom(double, double)
protected override bool DiffersFrom(double first, double second)
Parameters
Returns
GetCompressedValue(double)
protected override double GetCompressedValue(double value)
Parameters
value
double
Returns
GetInterpolatedAt(double)
public override double GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, double)
protected override double Interpolate(double time, double currentValue)
Parameters
Returns
ReadComponentData(ICoherenceComponentData, Vector3)
protected override double ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3