Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

QueryEnumerable<T0,T1,T2,T3,T4,T5>

struct in Unity.Entities

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An enumeration interface for the entities that match an EntityQuery.

This feature is primarily intended as a backend implementation for SystemAPI.Query. Application code should prefer to use that interface rather than using this type directly.

Public Methods

Method Description
GetEnumerator Returns an enumerator over the entities in this query.
WithAbsent Specify all read-only component types that must NOT be present.
WithAll Specify all read-only component types that must be present AND enabled.
WithAny Specify optional read-only component types (which must be enabled).
WithChangeFilter Only select components in chunks in which the specified component might have changed since the last time the system updated.
WithDisabled Specify all read-only component types that must be present AND disabled.
WithEntityAccess Invoke this method if you wish to retrieve a tuple with an Entity parameter, thus giving you direct access to an entity.
WithNone Specify component types that must be absent, or present and disabled.
WithOptions Specify your own EntityQueryOptions.
WithPresent Specify all read-only component types that must be present, whether enabled or disabled.
WithSharedComponentFilter Only select chunks that have a specified value for a shared component.