docs.unity3d.com
    Show / Hide Table of Contents

    Method WithSharedComponentFilter

    WithSharedComponentFilter<T>(ForEachLambdaJobDescription, T)

    Declaration
    public static ForEachLambdaJobDescription WithSharedComponentFilter<T>(this ForEachLambdaJobDescription description, T sharedComponent)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription description
    T sharedComponent
    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription
    Type Parameters
    Name Description
    T

    WithSharedComponentFilter<T1, T2>(ForEachLambdaJobDescription, T1, T2)

    Declaration
    public static ForEachLambdaJobDescription WithSharedComponentFilter<T1, T2>(this ForEachLambdaJobDescription description, T1 sharedComponent1, T2 sharedComponent2)
        where T1 : struct, ISharedComponentData where T2 : struct, ISharedComponentData
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription description
    T1 sharedComponent1
    T2 sharedComponent2
    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription
    Type Parameters
    Name Description
    T1
    T2

    WithSharedComponentFilter<T>(LambdaJobChunkDescription, T)

    Declaration
    public static LambdaJobChunkDescription WithSharedComponentFilter<T>(this LambdaJobChunkDescription description, T sharedComponent)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.LambdaJobChunkDescription description
    T sharedComponent
    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.LambdaJobChunkDescription
    Type Parameters
    Name Description
    T

    WithSharedComponentFilter<T1, T2>(LambdaJobChunkDescription, T1, T2)

    Declaration
    public static LambdaJobChunkDescription WithSharedComponentFilter<T1, T2>(this LambdaJobChunkDescription description, T1 sharedComponent1, T2 sharedComponent2)
        where T1 : struct, ISharedComponentData where T2 : struct, ISharedComponentData
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.LambdaJobChunkDescription description
    T1 sharedComponent1
    T2 sharedComponent2
    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.LambdaJobChunkDescription
    Type Parameters
    Name Description
    T1
    T2
    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