Table of Contents

Class PositionBinding

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

Constructors

PositionBinding()

protected PositionBinding()

PositionBinding(Descriptor, Component)

public PositionBinding(Descriptor descriptor, Component unityComponent)

Parameters

descriptor Descriptor
unityComponent Component

Properties

BakedSyncScriptGetter

public override string BakedSyncScriptGetter { get; }

Property Value

string

BakedSyncScriptSetter

public override string BakedSyncScriptSetter { get; }

Property Value

string

CoherenceComponentName

public override string CoherenceComponentName { get; }

Property Value

string

MemberNameInComponentData

public override string MemberNameInComponentData { get; }

Property Value

string

MemberNameInUnityComponent

public override string MemberNameInUnityComponent { 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

OnConnectedEntityChanged()

public override void OnConnectedEntityChanged()

ReadComponentData(ICoherenceComponentData, Vector3)

protected override (Vector3 value, AbsoluteSimulationFrame simFrame) ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)

Parameters

coherenceComponent ICoherenceComponentData
floatingOriginDelta Vector3

Returns

(Vector3 value, AbsoluteSimulationFrame simFrame)

ShiftSamples(Vector3)

public void ShiftSamples(Vector3 delta)

Parameters

delta Vector3

TransformSamples(Matrix4x4, bool)

public void TransformSamples(Matrix4x4 transform, bool transformLastSampleToo)

Parameters

transform Matrix4x4
transformLastSampleToo bool