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
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
MemberNameInComponentData
public override string MemberNameInComponentData { get; }
Property Value
MemberNameInUnityComponent
public override string MemberNameInUnityComponent { 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
- Vector3
Methods
OnConnectedEntityChanged()
public override void OnConnectedEntityChanged()
ReadComponentData(ICoherenceComponentData, Vector3)
protected override (Vector3 value, AbsoluteSimulationFrame simFrame) ReadComponentData(ICoherenceComponentData coherenceComponent, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDatafloatingOriginDelta
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)