Module bevy_internal::ecs::query

source ·
Expand description

Contains APIs for retrieving component data from the world.

Structs

  • Tracks read and write access to specific elements in a collection.
  • A filter on a component that only retains results added after the system last ran.
  • The AnyOf query parameter fetches entities with any of the component types included in T.
  • Dictates how a parallel query chunks up large tables/archetypes during iteration.
  • A filter on a component that only retains results added or mutably dereferenced after the system last ran.
  • An Access that has been filtered to include and exclude certain combinations of elements.
  • A collection of FilteredAccess instances.
  • Returns a bool that describes if an entity has the component T.
  • WorldQuery used to nullify queries by turning Query<D> into Query<NopWorldQuery<D>>
  • A filter that tests if any of the given filters apply.
  • Builder struct to create QueryState instances at runtime.
  • An iterator over K-sized combinations of query items without repetition.
  • An Iterator over query results of a Query.
  • An Iterator over the query items generated from an iterator of Entitys.
  • A parallel iterator over query results of a Query.
  • Provides scoped access to a World state according to a given QueryData and QueryFilter.
  • Filter that selects entities with a component T.
  • Filter that selects entities without a component T.

Enums

Traits

Type Aliases

Derive Macros

  • Implement QueryData to use a struct as a data parameter in a query
  • Implement QueryFilter to use a struct as a filter parameter in a query