Class ReferenceBinding
- Namespace
- Coherence.Toolkit.Bindings.ValueBindings
- Assembly
- Coherence.Toolkit.dll
public class ReferenceBinding : ValueBinding<Entity>
- Inheritance
-
ValueBinding<Entity>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
- Entity
Methods
DiffersFrom(Entity, Entity)
protected override bool DiffersFrom(Entity first, Entity second)
Parameters
first
Entitysecond
Entity
Returns
GetInterpolatedAt(double)
public override Entity GetInterpolatedAt(double time)
Parameters
time
double
Returns
- Entity
Interpolate(double, Entity)
protected override Entity Interpolate(double time, Entity currentValue)
Parameters
time
doublecurrentValue
Entity
Returns
- Entity
ReadComponentData(ICoherenceComponentData, Vector3)
protected override Entity ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3
Returns
- Entity