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