Class PositionBinding
- Namespace
- Coherence.Toolkit.Bindings.TransformBindings
- Assembly
- Coherence.Toolkit.dll
public class PositionBinding : Vector3Binding
- Inheritance
-
PositionBinding
- Inherited Members
Constructors
PositionBinding()
protected PositionBinding()
PositionBinding(Descriptor, Component)
public PositionBinding(Descriptor descriptor, Component unityComponent)
Parameters
descriptor
DescriptorunityComponent
Component
Properties
BakedSyncScriptGetter
public override string BakedSyncScriptGetter { get; }
Property Value
BakedSyncScriptSetter
public override string BakedSyncScriptSetter { get; }
Property Value
CoherenceComponentName
public override string CoherenceComponentName { get; }
Property Value
MemberName
public override string MemberName { 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
OnConnectedEntityChanged()
public override void OnConnectedEntityChanged()
ReadComponentData(ICoherenceComponentData, Vector3)
protected override Vector3 ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
Vector3
Returns
ShiftSamples(Vector3)
public void ShiftSamples(Vector3 delta)
Parameters
delta
Vector3