Table of Contents

Class Vector3Binding

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

Constructors

Vector3Binding()

protected Vector3Binding()

Vector3Binding(Descriptor, Component)

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

Property Value

Vector3

Methods

ClampToRange(in Vector3, long, long)

protected override Vector3 ClampToRange(in Vector3 value, long minRange, long maxRange)

Parameters

value Vector3
minRange long
maxRange long

Returns

Vector3

DiffersFrom(Vector3, Vector3)

protected override bool DiffersFrom(Vector3 first, Vector3 second)

Parameters

first Vector3
second Vector3

Returns

bool

GetCompressedValue(Vector3)

protected override Vector3 GetCompressedValue(Vector3 value)

Parameters

value Vector3

Returns

Vector3

GetInterpolatedAt(double)

public override Vector3 GetInterpolatedAt(double time)

Parameters

time double

Returns

Vector3

Interpolate(double, Vector3)

protected override Vector3 Interpolate(double time, Vector3 currentValue)

Parameters

time double
currentValue Vector3

Returns

Vector3