Table of Contents

Class ShortBinding

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

Constructors

ShortBinding()

protected ShortBinding()

ShortBinding(Descriptor, Component)

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

Property Value

short

Methods

DiffersFrom(short, short)

protected override bool DiffersFrom(short first, short second)

Parameters

first short
second short

Returns

bool

GetInterpolatedAt(double)

public override short GetInterpolatedAt(double time)

Parameters

time double

Returns

short

Interpolate(double, short)

protected override short Interpolate(double time, short currentValue)

Parameters

time double
currentValue short

Returns

short