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