Class ComponentGroup
Inheritance
System.Object
ComponentGroup
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Syntax
public class ComponentGroup : IDisposable
Properties
IsEmptyIgnoreFilter
Declaration
public bool IsEmptyIgnoreFilter { get; }
Property Value
Type |
Description |
System.Boolean |
|
Types
Declaration
public ComponentType[] Types { get; }
Property Value
Methods
AddDependency(JobHandle)
Declaration
public void AddDependency(JobHandle job)
Parameters
Type |
Name |
Description |
JobHandle |
job |
|
CalculateLength()
Declaration
public int CalculateLength()
Returns
Type |
Description |
System.Int32 |
|
CompareComponents(ComponentType[])
Declaration
public bool CompareComponents(ComponentType[] componentTypes)
Parameters
Returns
Type |
Description |
System.Boolean |
|
CompleteDependency()
Declaration
public void CompleteDependency()
CreateForEachFilter<SharedComponent1>(List<SharedComponent1>)
Declaration
public ForEachComponentGroupFilter CreateForEachFilter<SharedComponent1>(List<SharedComponent1> sharedComponent1)where SharedComponent1 : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
List<SharedComponent1> |
sharedComponent1 |
|
Returns
Type Parameters
Name |
Description |
SharedComponent1 |
|
Dispose()
Declaration
Implements
System.IDisposable.Dispose()
GetCombinedComponentOrderVersion()
Declaration
public int GetCombinedComponentOrderVersion()
Returns
Type |
Description |
System.Int32 |
|
GetComponentDataArray<T>()
Declaration
public ComponentDataArray<T> GetComponentDataArray<T>()where T : struct, IComponentData
Returns
Type Parameters
GetComponentDataArray<T>(ForEachComponentGroupFilter, Int32)
Declaration
public ComponentDataArray<T> GetComponentDataArray<T>(ForEachComponentGroupFilter filter, int filterIdx)where T : struct, IComponentData
Parameters
Returns
Type Parameters
GetDependency()
Declaration
public JobHandle GetDependency()
Returns
Type |
Description |
JobHandle |
|
GetEntityArray()
Declaration
public EntityArray GetEntityArray()
Returns
GetEntityArray(ForEachComponentGroupFilter, Int32)
Declaration
public EntityArray GetEntityArray(ForEachComponentGroupFilter filter, int filterIdx)
Parameters
Returns
GetFixedArrayArray<T>()
Declaration
public FixedArrayArray<T> GetFixedArrayArray<T>()where T : struct
Returns
Type Parameters
GetSharedComponentDataArray<T>()
Declaration
public SharedComponentDataArray<T> GetSharedComponentDataArray<T>()where T : struct, ISharedComponentData
Returns
Type Parameters
ResetFilter()
Declaration
public void ResetFilter()
SetFilter(NativeArray<Int32>)
Declaration
public void SetFilter(NativeArray<int> indexList)
Parameters
Type |
Name |
Description |
NativeArray<System.Int32> |
indexList |
|
SetFilter<SharedComponent1>(SharedComponent1)
Declaration
public void SetFilter<SharedComponent1>(SharedComponent1 sharedComponent1)where SharedComponent1 : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
SharedComponent1 |
sharedComponent1 |
|
Type Parameters
Name |
Description |
SharedComponent1 |
|
SetFilter<SharedComponent1, SharedComponent2>(SharedComponent1, SharedComponent2)
Declaration
public void SetFilter<SharedComponent1, SharedComponent2>(SharedComponent1 sharedComponent1, SharedComponent2 sharedComponent2)where SharedComponent1 : struct, ISharedComponentData where SharedComponent2 : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
SharedComponent1 |
sharedComponent1 |
|
SharedComponent2 |
sharedComponent2 |
|
Type Parameters
Name |
Description |
SharedComponent1 |
|
SharedComponent2 |
|
SetFilterChanged(ComponentType)
Declaration
public void SetFilterChanged(ComponentType componentType)
Parameters
SetFilterChanged(ComponentType[])
Declaration
public void SetFilterChanged(ComponentType[] componentType)
Parameters
SetFilterChangedRequiredVersion(UInt32)
Declaration
public void SetFilterChangedRequiredVersion(uint requiredVersion)
Parameters
Type |
Name |
Description |
System.UInt32 |
requiredVersion |
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.