docs.unity.cn
    Show / Hide Table of Contents

    Struct EntityQueryBuilder

    Namespace: Unity.Entities
    Syntax
    public struct EntityQueryBuilder

    Methods

    Name Description
    Equals(Object)
    ForEach(EntityQueryBuilder.F_E)
    GetHashCode()
    ToEntityQuery()
    ToEntityQueryDesc()
    With(EntityQuery)
    With(EntityQueryOptions)
    WithAll(ComponentType)
    WithAll(ComponentType, ComponentType)
    WithAll(ComponentType, ComponentType, ComponentType)
    WithAll(ComponentType, ComponentType, ComponentType, ComponentType)
    WithAll(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    WithAll<T0>()
    WithAll<T0, T1>()
    WithAll<T0, T1, T2>()
    WithAll<T0, T1, T2, T3>()
    WithAll<T0, T1, T2, T3, T4>()
    WithAllReadOnly(ComponentType)
    WithAllReadOnly(ComponentType, ComponentType)
    WithAllReadOnly(ComponentType, ComponentType, ComponentType)
    WithAllReadOnly(ComponentType, ComponentType, ComponentType, ComponentType)
    WithAllReadOnly(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    WithAllReadOnly<T0>()
    WithAllReadOnly<T0, T1>()
    WithAllReadOnly<T0, T1, T2>()
    WithAllReadOnly<T0, T1, T2, T3>()
    WithAllReadOnly<T0, T1, T2, T3, T4>()
    WithAny(ComponentType)
    WithAny(ComponentType, ComponentType)
    WithAny(ComponentType, ComponentType, ComponentType)
    WithAny(ComponentType, ComponentType, ComponentType, ComponentType)
    WithAny(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    WithAny<T0>()
    WithAny<T0, T1>()
    WithAny<T0, T1, T2>()
    WithAny<T0, T1, T2, T3>()
    WithAny<T0, T1, T2, T3, T4>()
    WithAnyReadOnly(ComponentType)
    WithAnyReadOnly(ComponentType, ComponentType)
    WithAnyReadOnly(ComponentType, ComponentType, ComponentType)
    WithAnyReadOnly(ComponentType, ComponentType, ComponentType, ComponentType)
    WithAnyReadOnly(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    WithAnyReadOnly<T0>()
    WithAnyReadOnly<T0, T1>()
    WithAnyReadOnly<T0, T1, T2>()
    WithAnyReadOnly<T0, T1, T2, T3>()
    WithAnyReadOnly<T0, T1, T2, T3, T4>()
    WithIncludeAll()

    This sets the options IncludeDisabled and EntityQueryOptions.IncludePrefab so that Entities with Disabled or Prefab components will not be hidden from the query.

    WithNone(ComponentType)
    WithNone(ComponentType, ComponentType)
    WithNone(ComponentType, ComponentType, ComponentType)
    WithNone(ComponentType, ComponentType, ComponentType, ComponentType)
    WithNone(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    WithNone<T0>()
    WithNone<T0, T1>()
    WithNone<T0, T1, T2>()
    WithNone<T0, T1, T2, T3>()
    WithNone<T0, T1, T2, T3, T4>()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use