docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023