QuerySystemBase.md
November 22, 2024 · View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Systems
QuerySystemBase Class
A query system returning the components specified in a subclass extending QuerySystem<T1, ... , Tn>.
public abstract class QuerySystemBase : Friflo.Engine.ECS.Systems.BaseSystem
Inheritance System.Object 🡒 BaseSystem 🡒 QuerySystemBase
Derived
↳ QuerySystem
↳ QuerySystem<T1,T2,T3,T4,T5>
↳ QuerySystem<T1,T2,T3,T4>
↳ QuerySystem<T1,T2,T3>
↳ QuerySystem<T1,T2>
↳ QuerySystem<T1>
| Properties | |
|---|---|
| CommandBuffer | Return the CommandBuffer of its ParentGroup. |
| ComponentTypes | The component types of components returned by its Query property. |
| EntityCount | The number of entities matching the Query. |
| Filter | A query filter used to restrict the entities returned by its Query property.See remarks to add a tag filter to a custom QuerySystem. |
| Queries | Return all system queries. One per store in Stores. |
| Methods | |
|---|---|
| OnAddStore(EntityStore) | |
| OnRemoveStore(EntityStore) | |
| OnUpdate() | Called for every query in Queries. |
| OnUpdateGroup() |