csharp
public sealed class QueryA QueryDescription bound to a world, with the archetypes it matched remembered.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The mask tests happen once per description per world and are redone only when the world grows a new archetype — which happens when an entity first reaches a component set nobody has used before, and then never again. Everything after that is a walk of a list.
Fields and properties (4)
public World WorldThe world the archetypes belong to.
public QueryDescription DescriptionWhat the query asks for.
public IReadOnlyList<Archetype> ArchetypesThe archetypes whose entities are in the query.
public int EntityCountHow many entities the query matches, ignoring any change filter.
Methods (2)
public ChunkSequence Chunks(uint since = 0)The chunks to iterate.
public override string ToString()Renders the description and how many entities it currently matches.
Used by (6)
- FoliageBlockersVixen.Rendering.Terrain
- QueryOracleTestsVixen.Ecs.Tests
- QueryTestsVixen.Ecs.Tests
- TerrainSplineSpawnerVixen.Rendering.Terrain
- WorldVixen.Ecs
- TerrainModuleVixen.Editor.Terrain