Navigation
API > API/Editor > API/Editor/Persona
Processor base class to allow systems to add their own find/replace functionality
| Name | UAnimAssetFindReplaceProcessor |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/AnimAssetFindReplace.h |
| Include Path | #include "AnimAssetFindReplace.h" |
Syntax
UCLASS (Abstract)
class UAnimAssetFindReplaceProcessor : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimAssetFindReplaceProcessor
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Widget | TWeakPtr< SAnimAssetFindReplace > | Weak ptr to the find/replace widget | AnimAssetFindReplace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCurrentlyRemove() |
Allows control over when the remove option is available to users | AnimAssetFindReplace.h | |
virtual bool CanCurrentlyReplace() |
Allows control over when the replace option is available to users | AnimAssetFindReplace.h | |
virtual void ExtendToolbar
(
FToolMenuSection& InSection |
Optional override to extend the toolbar when this processor is selected | AnimAssetFindReplace.h | |
virtual void FocusInitialWidget() |
Optional override allowing a widget to be focused when the find/replace widget is initially displayed | AnimAssetFindReplace.h | |
virtual FString GetFindResultStringFromAssetData
(
const FAssetData& InAssetData |
Builds results string to display from the supplied asset data | AnimAssetFindReplace.h | |
virtual TConstArrayView< UClass * > GetSupportedAssetTypes() |
Get all the asset types that are supported by this processor | AnimAssetFindReplace.h | |
virtual TSharedRef< SWidget > MakeFindReplaceWidget() |
Make or return the widget used to edit find/replace parameters | AnimAssetFindReplace.h | |
virtual void RefreshCachedData() |
Called by the UI to deferred-refresh any cached data that this processor holds after asset operations have completed | AnimAssetFindReplace.h | |
virtual void RemoveInAsset
(
const FAssetData& InAssetData |
Perform a remove operation on the specified asset | AnimAssetFindReplace.h | |
virtual void ReplaceInAsset
(
const FAssetData& InAssetData |
Perform a replace operation on the specified asset | AnimAssetFindReplace.h | |
virtual bool ShouldFilterOutAsset
(
const FAssetData& InAssetData, |
Whether the asset in question is a valid search result or not | AnimAssetFindReplace.h | |
virtual bool SupportsMode
(
EAnimAssetFindReplaceMode InMode |
Whether this processor supports the specified mode | AnimAssetFindReplace.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RequestRefreshCachedData() |
Requests cached data and search results | AnimAssetFindReplace.h | |
void RequestRefreshSearchResults() |
Requests search results to be refreshed | AnimAssetFindReplace.h | |
void RequestRefreshUI() |
Requests the entire find UI to be refreshed | AnimAssetFindReplace.h | |
void RequestUIRefresh() |
AnimAssetFindReplace.h |