Table of Contents

Class StringBinding

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

Constructors

StringBinding()

protected StringBinding()

StringBinding(Descriptor, Component)

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

Property Value

string

Methods

DiffersFrom(string, string)

protected override bool DiffersFrom(string first, string second)

Parameters

first string
second string

Returns

bool

GetInterpolatedAt(double)

public override string GetInterpolatedAt(double time)

Parameters

time double

Returns

string

Interpolate(double, string)

protected override string Interpolate(double time, string currentValue)

Parameters

time double
currentValue string

Returns

string

ReadComponentData(ICoherenceComponentData, Vector3)

protected override string ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)

Parameters

coherenceComponent ICoherenceComponentData
floatingOriginDelta Vector3

Returns

string