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
CommandBufferReturn the CommandBuffer of its ParentGroup.
ComponentTypesThe component types of components returned by its Query property.
EntityCountThe number of entities matching the Query.
FilterA query filter used to restrict the entities returned by its Query property.
See remarks to add a tag filter to a custom QuerySystem.
QueriesReturn all system queries. One per store in Stores.
Methods
OnAddStore(EntityStore)
OnRemoveStore(EntityStore)
OnUpdate()Called for every query in Queries.
OnUpdateGroup()