Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.88 KB

QueryEntities.md

File metadata and controls

31 lines (24 loc) · 2.88 KB

QueryEntities Struct

Provide the result set of an ArchetypeQuery as a set of Entity's.

public readonly struct QueryEntities :
System.Collections.Generic.IEnumerable<Friflo.Engine.ECS.Entity>,
System.Collections.IEnumerable

Implements System.Collections.Generic.IEnumerable<Entity>, System.Collections.IEnumerable

Properties
Count Return the number of entities matching the query.
Methods
ApplyBatch(EntityBatch) Apply the given entity batch to all entities in this set.
See Example.
GetEnumerator()
ToEntityList() Returns the query result as an EntityList to perform structural changes.
ToEntityList(EntityList) Returns the query result as an EntityList to perform structural changes.
ToString()
Explicit Interface Implementations
System.Collections.Generic.IEnumerable<Friflo.Engine.ECS.Entity>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()