Documentation

Unity Engine


Unity Engine


EntityQueryOptions

The bit flags to use for the EntityQueryDesc.Options field.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Enum
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
[Flags]public enum EntityQueryOptions

Fields

Value

Description

DefaultNo options specified.
IgnoreComponentEnabledStateThe query will match all entities in all the query's matching archetypes, regardless of whether any enableable components on those entities are enabled or disabled.
IncludeDisabledEntitiesThe query does not exclude entities with the special Disabled component.
IncludeMetaChunksThe query does not exclude the special ChunkHeader component, used by meta-chunks.
IncludePrefabThe query does not exclude entities with the special Prefab component.
IncludeSystemsThe query does not exclude the SystemInstance component, which is a component attached to Entities belonging to systems.