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