Class IntBinding
- Namespace
- Coherence.Toolkit.Bindings.ValueBindings
- Assembly
- Coherence.Toolkit.dll
public class IntBinding : ValueBinding<int>
- Inheritance
-
IntBinding
- Derived
- Inherited Members
Constructors
IntBinding()
protected IntBinding()
IntBinding(Descriptor, Component)
public IntBinding(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 int Value { get; set; }
Property Value
Methods
ClampToRange(in int, long, long)
protected override int ClampToRange(in int value, long minRange, long maxRange)
Parameters
Returns
DiffersFrom(int, int)
protected override bool DiffersFrom(int first, int second)
Parameters
Returns
GetInterpolatedAt(double)
public override int GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, int)
protected override int Interpolate(double time, int currentValue)
Parameters
Returns
ReadComponentData(ICoherenceComponentData, Vector3)
protected override int ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3