文档

Unity Engine

Download Unity

Unity Engine

EntityQueryOptions

The bit flags to use for the EntityQueryDesc.Options field.
阅读时间1 分钟最后更新于 19 天前

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.