docs.unity.cn
    Show / Hide Table of Contents

    Struct EntityQueryDescBuilder

    Struct for storing entity query data for multiple queries. Currently used to convert EntityQueryDesc[] into unmanaged data that EntityQueryManager can use when creating queries.

    Namespace: Unity.Entities
    Syntax
    [BurstCompatible]
    public struct EntityQueryDescBuilder : IDisposable

    Constructors

    Name Description
    EntityQueryDescBuilder(Allocator)

    Create an entity query description builder

    Methods

    Name Description
    AddAll(ComponentType)

    Add an "all" matching type to the current query.

    AddAny(ComponentType)

    Add an "any" matching type to the current query.

    AddNone(ComponentType)

    Add a "none" matching type to the current query.

    Dispose()

    Dispose the builder and release the memory.

    FinalizeQuery()

    Store the current query into the builder.

    Options(EntityQueryOptions)

    Set options for the current query.

    Reset()

    Reset the builder for reuse.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use