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
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
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
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