Table of Contents

Class UShortBinding

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

Constructors

UShortBinding()

protected UShortBinding()

UShortBinding(Descriptor, Component)

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

Property Value

ushort

Methods

DiffersFrom(ushort, ushort)

protected override bool DiffersFrom(ushort first, ushort second)

Parameters

first ushort
second ushort

Returns

bool

GetInterpolatedAt(double)

public override ushort GetInterpolatedAt(double time)

Parameters

time double

Returns

ushort

Interpolate(double, ushort)

protected override ushort Interpolate(double time, ushort currentValue)

Parameters

time double
currentValue ushort

Returns

ushort