docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor EntityQueryBuilder

    EntityQueryBuilder(AllocatorHandle)

    Create an entity query description builder.

    Declaration
    public EntityQueryBuilder(AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle allocator

    The allocator used to allocate the builder's arrays. Typically Allocator.Temp.

    Remarks

    It is safe to use Allocator.Temp for all EntityQueryBuilders. Since they are a ref struct, their lifetime is limited to the current frame.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)