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
DescriptorunityComponent
Component
Properties
CoherenceComponentName
public override string CoherenceComponentName { get; }
Property Value
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
Methods
DiffersFrom(bool, bool)
protected override bool DiffersFrom(bool first, bool second)
Parameters
Returns
GetInterpolatedAt(double)
public override bool GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, bool)
protected override bool Interpolate(double time, bool currentValue)
Parameters
Returns
ReadComponentData(ICoherenceComponentData, Vector3)
protected override bool ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3