Delegate DynamicAtlasCustomFilter
Delegate that can be used as a custom filter for the dynamic atlas.
Namespace: UnityEngine.UIElements
Syntax
public delegate bool DynamicAtlasCustomFilter(Texture2D texture, ref DynamicAtlasFilters filtersToApply);
Parameters
Type | Name | Description |
---|---|---|
Texture2D | texture | The texture to filter. |
DynamicAtlasFilters | filtersToApply | The filters the dynamic atlas applies when the delegate returns |
Returns
Type | Description |
---|---|
Boolean | When |