Class CoherenceQuery
[NonBindable]
public abstract class CoherenceQuery : CoherenceBehaviour
- Inheritance
-
CoherenceQuery
- Derived
- Inherited Members
Constructors
CoherenceQuery()
protected CoherenceQuery()
Fields
bridge
protected CoherenceBridge bridge
Field Value
Properties
Client
protected IClient Client { get; }
Property Value
EntityID
public Entity EntityID { get; protected set; }
Property Value
Logger
protected Logger Logger { get; }
Property Value
Methods
CreateQuery()
protected abstract void CreateQuery()
Initialize()
protected virtual void Initialize()
NeedsUpdate()
protected abstract bool NeedsUpdate()
Returns
OnDestroy()
protected virtual void OnDestroy()
OnFloatingOriginShifted(FloatingOriginShiftArgs)
protected virtual void OnFloatingOriginShifted(FloatingOriginShiftArgs args)
Parameters
UpdateQuery(bool)
protected abstract void UpdateQuery(bool queryActive = true)
Parameters
queryActive
bool
Events
BridgeResolve
Called by the Entity/Component to find the correct CoherenceBridge instance. The order of CoherenceBridge resolution is as follows:
* CoherenceBridge provided by the per-instance CoherenceBridgeResolver<T> callback
* CoherenceBridge provided by the global BridgeResolve callback
* CoherenceBridge within the same scene as this Entity/Component
* CoherenceBridge with a CoherenceBridge.IsSingleton checked
* Creating new CoherenceBridge instance
public event CoherenceBridgeResolver<CoherenceQuery> BridgeResolve