Class QuaternionBinding
- Namespace
- Coherence.Toolkit.Bindings.ValueBindings
- Assembly
- Coherence.Toolkit.dll
public class QuaternionBinding : ValueBinding<Quaternion>
- Inheritance
-
QuaternionBinding
- Derived
- Inherited Members
Constructors
QuaternionBinding()
protected QuaternionBinding()
QuaternionBinding(Descriptor, Component)
public QuaternionBinding(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 Quaternion Value { get; set; }
Property Value
Methods
DiffersFrom(Quaternion, Quaternion)
protected override bool DiffersFrom(Quaternion first, Quaternion second)
Parameters
first
Quaternionsecond
Quaternion
Returns
GetCompressedValue(Quaternion)
protected override Quaternion GetCompressedValue(Quaternion value)
Parameters
value
Quaternion
Returns
GetInterpolatedAt(double)
public override Quaternion GetInterpolatedAt(double time)
Parameters
time
double
Returns
Interpolate(double, Quaternion)
protected override Quaternion Interpolate(double time, Quaternion currentValue)
Parameters
time
doublecurrentValue
Quaternion
Returns
ReadComponentData(ICoherenceComponentData, Vector3)
protected override Quaternion ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3