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