docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use