Method SetChangedVersionFilter
SetChangedVersionFilter(ComponentType)
Filters out entities in chunks for which the specified component has not changed.
Declaration
public void SetChangedVersionFilter(ComponentType componentType)
Parameters
Type | Name | Description |
---|---|---|
Component |
componentType | ComponentType to mark as changed on this EntityQuery's filter. |
Remarks
Saves a given ComponentType's index in RequiredComponents in this group's Changed filter.
This call disables any existing chunk filtering on this query. For additive filtering, use Add
SetChangedVersionFilter(ComponentType[])
Filters out entities in chunks for which the specified component has not changed.
Declaration
[ExcludeFromBurstCompatTesting("Takes managed array")]
public void SetChangedVersionFilter(ComponentType[] componentType)
Parameters
Type | Name | Description |
---|---|---|
Component |
componentType | ComponentTypes to mark as changed on this EntityQuery's filter. |
Remarks
Saves a given ComponentType's index in RequiredComponents in this group's Changed filter.
This call disables any existing chunk filtering on this query. For additive filtering, use Add