Table of Contents

Class LongBinding

Namespace
Coherence.Toolkit.Bindings.ValueBindings
Assembly
Coherence.Toolkit.dll
public class LongBinding : ValueBinding<long>
Inheritance
LongBinding
Inherited Members

Constructors

LongBinding()

protected LongBinding()

LongBinding(Descriptor, Component)

public LongBinding(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 long Value { get; set; }

Property Value

long

Methods

DiffersFrom(long, long)

protected override bool DiffersFrom(long first, long second)

Parameters

first long
second long

Returns

bool

GetInterpolatedAt(double)

public override long GetInterpolatedAt(double time)

Parameters

time double

Returns

long

Interpolate(double, long)

protected override long Interpolate(double time, long currentValue)

Parameters

time double
currentValue long

Returns

long

ReadComponentData(ICoherenceComponentData, Vector3)

protected override long ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)

Parameters

coherenceComponent ICoherenceComponentData
floatingOriginDelta Vector3

Returns

long