Class ShortBinding
- Namespace
- Coherence.Toolkit.Bindings.ValueBindings
- Assembly
- Coherence.Toolkit.dll
public class ShortBinding : ValueBinding<short>
- Inheritance
-
ShortBinding
- Inherited Members
Constructors
ShortBinding()
protected ShortBinding()
ShortBinding(Descriptor, Component)
public ShortBinding(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 short Value { get; set; }
Property Value
Methods
DiffersFrom(short, short)
protected override bool DiffersFrom(short first, short second)
Parameters
Returns
GetInterpolatedAt(double)
public override short GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, short)
protected override short Interpolate(double time, short currentValue)