Table of Contents

Class BoolBinding

Namespace
Coherence.Toolkit.Bindings.ValueBindings
Assembly
Coherence.Toolkit.dll
public class BoolBinding : ValueBinding<bool>
Inheritance
BoolBinding
Derived
Inherited Members

Constructors

BoolBinding()

protected BoolBinding()

BoolBinding(Descriptor, Component)

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

Property Value

bool

Methods

DiffersFrom(bool, bool)

protected override bool DiffersFrom(bool first, bool second)

Parameters

first bool
second bool

Returns

bool

GetInterpolatedAt(double)

public override bool GetInterpolatedAt(double time)

Parameters

time double

Returns

bool

Interpolate(double, bool)

protected override bool Interpolate(double time, bool currentValue)

Parameters

time double
currentValue bool

Returns

bool

ReadComponentData(ICoherenceComponentData, Vector3)

protected override bool ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)

Parameters

coherenceComponent ICoherenceComponentData
floatingOriginDelta Vector3

Returns

bool