Navigation
API > API/Editor > API/Editor/ContentBrowser
Interface that can be implemented to extend text filtering in the content browser.
Objects implementing this interface must be manually added and removed from participation in text filtering with RegisterHandler and UnregisterHandler to allow synchronization with async text filtering.
Objects implementing this interface must be able to have HandleTextFilterValue and HandleTextFilterKeyValue called on any thread in between RegisterHandler and UnregisterHandler
| Name | IAssetTextFilterHandler |
| Type | class |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/AssetTextFilter.h |
| Include Path | #include "AssetTextFilter.h" |
Syntax
class IAssetTextFilterHandler
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IAssetTextFilterHandler() |
AssetTextFilter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HandleTextFilterKeyValue
(
const FContentBrowserItem& InContentBrowserItem, |
Implement this function to handle complex tests of keys against values (e.g. class=actor) | AssetTextFilter.h | |
bool HandleTextFilterValue
(
const FContentBrowserItem& InContentBrowserItem, |
Implement this function to handle basic text matching. | AssetTextFilter.h | |
void RegisterHandler() |
Call on your derived instance of IAssetTextFilterHandler to have it participate in asset text filtering. | AssetTextFilter.h | |
void UnregisterHandler() |
Call on your derived instance of IAssetTextFilterHandler to remove it from asset text filtering. | AssetTextFilter.h |