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