Table of Contents

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 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 Entity Value { get; set; }

Property Value

Entity

Methods

DiffersFrom(Entity, Entity)

protected override bool DiffersFrom(Entity first, Entity second)

Parameters

first Entity
second Entity

Returns

bool

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

Returns

Entity

InvokeValueSyncCallback()

public override void InvokeValueSyncCallback()