CoherenceLiveQuery
Filters what entities are replicated, based on position.
Remarks
This component is required for entities to get replicated.
When the UnityEngine.GameObject moves, the associated CoherenceLiveQuery moves accordingly.
Using a live query is a great optimization if there's lots of entities, but only the few contained within the live query area are relevant.
Properties
| Buffer | Defines the buffer area of the live query. |
| DistanceUpdateThreshold | Distance since last update at which an update on the live query is triggered. |
| Extent | Defines the active area of the live query. |
| ExtentUpdateThreshold | Magnitude difference at which to trigger an update on the live query. |
| NeedsUpdate | |
| radius | Defines the active area of the live query. |
Methods
| Awake | |
| Reset | Resets values to defaults. |
| UpdateQuery |