Class Binding
Base class for everything that can be synced over the network. A binding holds the metadata that associates a user-facing unity component with its network replicated coherence component.
public abstract class Binding
- Inheritance
-
Binding
- Derived
-
ValueBinding<T>
Constructors
Binding()
protected Binding()
- See Also
-
ValueBinding<T>
Binding(Descriptor, Component)
public Binding(Descriptor descriptor, Component unityComponent)
Parameters
descriptor
DescriptorunityComponent
Component
- See Also
-
ValueBinding<T>
Fields
archetypeData
public BindingArchetypeData archetypeData
Field Value
- See Also
-
ValueBinding<T>
coherenceSync
public CoherenceSync coherenceSync
Field Value
- See Also
-
ValueBinding<T>
defaultInterpolationPath
public string defaultInterpolationPath
Field Value
- See Also
-
ValueBinding<T>
descriptor
protected Descriptor descriptor
Field Value
- See Also
-
ValueBinding<T>
genericPoolIndex
protected int genericPoolIndex
Field Value
- See Also
-
ValueBinding<T>
guid
public string guid
Field Value
- See Also
-
ValueBinding<T>
interpolationSettings
[InterpolationPicker]
public InterpolationSettings interpolationSettings
Field Value
- InterpolationSettings
- See Also
-
ValueBinding<T>
isPredicted
public bool isPredicted
Field Value
- See Also
-
ValueBinding<T>
routing
public MessageTarget routing
Field Value
- See Also
-
ValueBinding<T>
runtimeInterpolationSettings
protected InterpolationSettings runtimeInterpolationSettings
Field Value
- InterpolationSettings
- See Also
-
ValueBinding<T>
unityComponent
public Component unityComponent
Field Value
- See Also
-
ValueBinding<T>
Properties
BakedSyncScriptCSharpType
public string BakedSyncScriptCSharpType { get; }
Property Value
- See Also
-
ValueBinding<T>
BakedSyncScriptGetter
public virtual string BakedSyncScriptGetter { get; }
Property Value
- See Also
-
ValueBinding<T>
BakedSyncScriptSetter
public virtual string BakedSyncScriptSetter { get; }
Property Value
- See Also
-
ValueBinding<T>
BindingArchetypeData
public BindingArchetypeData BindingArchetypeData { get; }
Property Value
- See Also
-
ValueBinding<T>
CoherenceComponentAssemblyName
public virtual string CoherenceComponentAssemblyName { get; }
Property Value
- See Also
-
ValueBinding<T>
CoherenceComponentName
public virtual string CoherenceComponentName { get; }
Property Value
- See Also
-
ValueBinding<T>
CoherenceComponentNamespace
public virtual string CoherenceComponentNamespace { get; }
Property Value
- See Also
-
ValueBinding<T>
CoherenceComponentType
public Type CoherenceComponentType { get; }
Property Value
- See Also
-
ValueBinding<T>
Descriptor
public Descriptor Descriptor { get; }
Property Value
- See Also
-
ValueBinding<T>
EnforcesLODingWhenFieldsOverriden
public bool EnforcesLODingWhenFieldsOverriden { get; }
Property Value
- See Also
-
ValueBinding<T>
FieldMask
public virtual uint FieldMask { get; }
Property Value
- See Also
-
ValueBinding<T>
FullName
public string FullName { get; }
Property Value
- See Also
-
ValueBinding<T>
IsMethod
public bool IsMethod { get; }
Property Value
- See Also
-
ValueBinding<T>
IsValid
public bool IsValid { get; }
Property Value
- See Also
-
ValueBinding<T>
Logger
protected Logger Logger { get; }
Property Value
- Logger
- See Also
-
ValueBinding<T>
MemberName
public virtual string MemberName { get; }
Property Value
- See Also
-
ValueBinding<T>
MonoAssemblyRuntimeType
public Type MonoAssemblyRuntimeType { get; }
Property Value
- See Also
-
ValueBinding<T>
Name
public string Name { get; }
Property Value
- See Also
-
ValueBinding<T>
RuntimeInterpolationSettings
public InterpolationSettings RuntimeInterpolationSettings { get; }
Property Value
- InterpolationSettings
- See Also
-
ValueBinding<T>
SchemaFieldName
public string SchemaFieldName { get; }
Property Value
- See Also
-
ValueBinding<T>
Signature
public virtual string Signature { get; }
Property Value
- See Also
-
ValueBinding<T>
UnityComponent
public Component UnityComponent { get; }
Property Value
- See Also
-
ValueBinding<T>
UntypedValue
public virtual object UntypedValue { get; }
Property Value
- See Also
-
ValueBinding<T>
Methods
Clone(Component)
public Binding Clone(Component c)
Parameters
Returns
- See Also
-
ValueBinding<T>
CloneTo(Binding)
public virtual void CloneTo(Binding clone)
Parameters
clone
Binding
- See Also
-
ValueBinding<T>
CreateComponentData()
public virtual ICoherenceComponentData CreateComponentData()
Returns
- ICoherenceComponentData
- See Also
-
ValueBinding<T>
Dispose()
public void Dispose()
- See Also
-
ValueBinding<T>
Equals(object)
public override bool Equals(object other)
Parameters
other
object
Returns
- See Also
-
ValueBinding<T>
GetHashCode()
public override abstract int GetHashCode()
Returns
- See Also
-
ValueBinding<T>
GetMemberInfo()
public virtual MemberInfo GetMemberInfo()
Returns
- See Also
-
ValueBinding<T>
Interpolate(double)
public virtual void Interpolate(double time)
Parameters
time
double
- See Also
-
ValueBinding<T>
InvokeValueSyncCallback()
public virtual void InvokeValueSyncCallback()
- See Also
-
ValueBinding<T>
IsDirty(double)
public abstract bool IsDirty(double simulationFrameTime)
Parameters
simulationFrameTime
double
Returns
- See Also
-
ValueBinding<T>
OnBindingCloned()
protected virtual void OnBindingCloned()
- See Also
-
ValueBinding<T>
OnConnectedEntityChanged()
public virtual void OnConnectedEntityChanged()
- See Also
-
ValueBinding<T>
ReceiveComponentData(ICoherenceComponentData, AbsoluteSimulationFrame, Vector3)
public virtual void ReceiveComponentData(ICoherenceComponentData coherenceComponent, AbsoluteSimulationFrame clientFrame, Vector3 floatingOriginDelta)
Parameters
coherenceComponent
ICoherenceComponentDataclientFrame
AbsoluteSimulationFramefloatingOriginDelta
Vector3
- See Also
-
ValueBinding<T>
ReceiveSampleFromNetwork<T>(T, AbsoluteSimulationFrame, AbsoluteSimulationFrame)
public void ReceiveSampleFromNetwork<T>(T data, AbsoluteSimulationFrame sampleFrame, AbsoluteSimulationFrame clientFrame)
Parameters
data
TsampleFrame
AbsoluteSimulationFrameclientFrame
AbsoluteSimulationFrame
Type Parameters
T
- See Also
-
ValueBinding<T>
RemoveOutdatedSamples(double)
public virtual void RemoveOutdatedSamples(double time)
Parameters
time
double
- See Also
-
ValueBinding<T>
Reset()
public abstract void Reset()
- See Also
-
ValueBinding<T>
ResetLastSentData()
public virtual void ResetLastSentData()
- See Also
-
ValueBinding<T>
SampleValue()
public virtual void SampleValue()
- See Also
-
ValueBinding<T>
SetToLastSample()
public virtual void SetToLastSample()
- See Also
-
ValueBinding<T>
ShouldApplyNetworkData()
public bool ShouldApplyNetworkData()
Returns
- See Also
-
ValueBinding<T>
ValidateNotBound()
public virtual void ValidateNotBound()
- See Also
-
ValueBinding<T>
WriteComponentData(ICoherenceComponentData, double)
public virtual ICoherenceComponentData WriteComponentData(ICoherenceComponentData coherenceComponent, double time)
Parameters
coherenceComponent
ICoherenceComponentDatatime
double
Returns
- ICoherenceComponentData
- See Also
-
ValueBinding<T>
Events
OnNetworkSampleReceived
public event Action<object, long> OnNetworkSampleReceived
Event Type
- See Also
-
ValueBinding<T>