Table of Contents

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 Descriptor
unityComponent Component

Properties

CoherenceComponentName

public override string CoherenceComponentName { get; }

Property Value

string

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 SerializeEntityID
second SerializeEntityID

Returns

bool

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 double
currentValue SerializeEntityID

Returns

SerializeEntityID

ReadComponentData(ICoherenceComponentData, Vector3)

protected override SerializeEntityID ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)

Parameters

coherenceComponent ICoherenceComponentData
floatingOriginDelta Vector3

Returns

SerializeEntityID