Navigation
API > API/Editor > API/Editor/Persona
Processor for string-based animation asset operations
| Name | UAnimAssetFindReplaceProcessor_StringBase |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/AnimAssetFindReplace.h |
| Include Path | #include "AnimAssetFindReplace.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UAnimAssetFindReplaceProcessor_StringBase : public UAnimAssetFindReplaceProcessor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimAssetFindReplaceProcessor → UAnimAssetFindReplaceProcessor_StringBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAnimAssetFindReplaceProcessor_StringBase() |
AnimAssetFindReplace.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoCompleteItems | TSharedPtr< TArray< TSharedPtr< FString > > > | Cached auto-complete items | AnimAssetFindReplace.h | |
| bFindWholeWord | bool | Whether to match whole words when searching strings | AnimAssetFindReplace.h | |
| FindReplaceWidget | TWeakPtr< SWidget > | Cached find/replace widget | AnimAssetFindReplace.h | |
| FindSearchBox | TWeakPtr< SAutoCompleteSearchBox > | Search box widget for 'find' | AnimAssetFindReplace.h | |
| FindString | FString | The find string | AnimAssetFindReplace.h | |
| ReplaceSearchBox | TWeakPtr< SAutoCompleteSearchBox > | Search box widget for 'replace' | AnimAssetFindReplace.h | |
| ReplaceString | FString | The replace string | AnimAssetFindReplace.h | |
| SearchCase | ESearchCase::Type | Case comparison to use when searching | AnimAssetFindReplace.h | |
| SkeletonFilter | FAssetData | The skeleton to filter by | AnimAssetFindReplace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetAutoCompleteNames
(
TArrayView< FAssetData > InAssetDatas, |
Optional override point for derived classes to supply auto complete names to display in the UI | AnimAssetFindReplace.h | |
FStringView GetFindString() |
Get the current find string | AnimAssetFindReplace.h | |
const FString & GetFindStringRef() |
Get the current find string | AnimAssetFindReplace.h | |
bool GetFindWholeWord() |
Gets whether to match whole words when searching strings | AnimAssetFindReplace.h | |
FStringView GetReplaceString() |
Get the current replace string | AnimAssetFindReplace.h | |
const FString & GetReplaceStringRef() |
Get the current replace string | AnimAssetFindReplace.h | |
ESearchCase::Type GetSearchCase() |
Gets case comparison to use when searching | AnimAssetFindReplace.h | |
const FAssetData & GetSkeletonFilter() |
Get the current skeleton filter | AnimAssetFindReplace.h | |
void SetFindString
(
const FString& InString |
Set the current find string | AnimAssetFindReplace.h | |
void SetFindWholeWord
(
bool bInFindWholeWord |
Sets whether to match whole words when searching strings | AnimAssetFindReplace.h | |
void SetReplaceString
(
const FString& InString |
Set the current replace string | AnimAssetFindReplace.h | |
void SetSearchCase
(
ESearchCase::Type InSearchCase |
Sets case comparison to use when searching | AnimAssetFindReplace.h | |
void SetSkeletonFilter
(
const FAssetData& InSkeletonFilter |
Set the current skeleton filter | AnimAssetFindReplace.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool NameMatches
(
FStringView InNameStringView |
Check if the supplied string matches the find parameters | AnimAssetFindReplace.h |
Overridden from UAnimAssetFindReplaceProcessor
| 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 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 bool SupportsMode
(
EAnimAssetFindReplaceMode InMode |
UAnimAssetFindReplaceProcessor interface | AnimAssetFindReplace.h |