docs.unity.cn
    Show / Hide Table of Contents

    Class LambdaJobQueryConstructionMethods

    Inheritance
    Object
    LambdaJobQueryConstructionMethods
    Namespace: Unity.Entities
    Syntax
    public static class LambdaJobQueryConstructionMethods : object

    Methods

    Name Description
    WithAll<T>(ForEachLambdaJobDescription)
    WithAll<T>(ForEachLambdaJobDescriptionJCS)
    WithAll<T>(LambdaJobChunkDescription)
    WithAll<T1, T2>(ForEachLambdaJobDescription)
    WithAll<T1, T2>(ForEachLambdaJobDescriptionJCS)
    WithAll<T1, T2>(LambdaJobChunkDescription)
    WithAll<T1, T2, T3>(ForEachLambdaJobDescription)
    WithAll<T1, T2, T3>(ForEachLambdaJobDescriptionJCS)
    WithAll<T1, T2, T3>(LambdaJobChunkDescription)
    WithAny<T>(ForEachLambdaJobDescription)
    WithAny<T>(ForEachLambdaJobDescriptionJCS)
    WithAny<T>(LambdaJobChunkDescription)
    WithAny<T1, T2>(ForEachLambdaJobDescription)
    WithAny<T1, T2>(ForEachLambdaJobDescriptionJCS)
    WithAny<T1, T2>(LambdaJobChunkDescription)
    WithAny<T1, T2, T3>(ForEachLambdaJobDescription)
    WithAny<T1, T2, T3>(ForEachLambdaJobDescriptionJCS)
    WithAny<T1, T2, T3>(LambdaJobChunkDescription)
    WithChangeFilter<T>(ForEachLambdaJobDescription)
    WithChangeFilter<T>(ForEachLambdaJobDescriptionJCS)
    WithChangeFilter<T>(LambdaJobChunkDescription)
    WithChangeFilter<T1, T2>(ForEachLambdaJobDescription)
    WithChangeFilter<T1, T2>(ForEachLambdaJobDescriptionJCS)
    WithChangeFilter<T1, T2>(LambdaJobChunkDescription)
    WithEntityQueryOptions(ForEachLambdaJobDescription, EntityQueryOptions)
    WithEntityQueryOptions(ForEachLambdaJobDescriptionJCS, EntityQueryOptions)
    WithEntityQueryOptions(LambdaJobChunkDescription, EntityQueryOptions)
    WithNone<T>(ForEachLambdaJobDescription)
    WithNone<T>(ForEachLambdaJobDescriptionJCS)
    WithNone<T>(LambdaJobChunkDescription)
    WithNone<T1, T2>(ForEachLambdaJobDescription)
    WithNone<T1, T2>(ForEachLambdaJobDescriptionJCS)
    WithNone<T1, T2>(LambdaJobChunkDescription)
    WithNone<T1, T2, T3>(ForEachLambdaJobDescription)
    WithNone<T1, T2, T3>(ForEachLambdaJobDescriptionJCS)
    WithNone<T1, T2, T3>(LambdaJobChunkDescription)
    WithSharedComponentFilter<T>(ForEachLambdaJobDescription, T)
    WithSharedComponentFilter<T>(ForEachLambdaJobDescriptionJCS, T)
    WithSharedComponentFilter<T>(LambdaJobChunkDescription, T)
    WithStoreEntityQueryInField(ForEachLambdaJobDescription, ref EntityQuery)

    You can use this method to store the EntityQuery generated for this Entities.ForEach invocation in a variable that you can then reuse for other purposes, such as calculating entity counts. Note: The EntityQuery is created in OnCreate. This method gives a copy of that query that can be used at any time (even before the Entities.ForEach is invoked). Also, this EntityQuery does not have any of the filters that the Entities.ForEach invocation sets up.

    WithStoreEntityQueryInField(ForEachLambdaJobDescriptionJCS, ref EntityQuery)
    WithStoreEntityQueryInField(LambdaJobChunkDescription, ref EntityQuery)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021