Navigation
API > API/Editor > API/Editor/Persona
Persona asset editor toolkit wrapper, used to auto inject the persona editor mode manager
| Name | FPersonaAssetEditorToolkit |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/PersonaAssetEditorToolkit.h |
| Include Path | #include "PersonaAssetEditorToolkit.h" |
Syntax
class FPersonaAssetEditorToolkit : public FWorkflowCentricApplication
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FAssetEditorToolkit → FWorkflowCentricApplication → FPersonaAssetEditorToolkit
Implements Interfaces
Derived Classes
FPersonaAssetEditorToolkit derived class hierarchy
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RoutedSelectionHandles | TArray< FTypedElementHandle > | Element handles routed by the last call to RouteTreeSelectionToModeManager, so we only deselect our own elements. | PersonaAssetEditorToolkit.h | |
| SelectionSetChangedHandle | FDelegateHandle | PersonaAssetEditorToolkit.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< IToolkit > GetHostedToolkit() |
Returns the currently hosted toolkit. Can be invalid if no toolkit is being hosted. | PersonaAssetEditorToolkit.h | |
FOnAttachToolkit & GetOnAttachToolkit() |
PersonaAssetEditorToolkit.h | ||
FOnDetachToolkit & GetOnDetachToolkit() |
PersonaAssetEditorToolkit.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateEditorModeManager() |
FAssetEditorToolkit interface | PersonaAssetEditorToolkit.h | |
virtual void OnClose() |
PersonaAssetEditorToolkit.h | ||
virtual void OnToolkitHostingFinished
(
const TSharedRef< class IToolkit >& Toolkit |
PersonaAssetEditorToolkit.h | ||
virtual void OnToolkitHostingStarted
(
const TSharedRef< class IToolkit >& Toolkit |
PersonaAssetEditorToolkit.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnEditorModeIdChanged
(
const FEditorModeID& ModeChangedID, |
PersonaAssetEditorToolkit.h | ||
virtual void OnSelectionSetChanged
(
const UTypedElementSelectionSet* InSelectionSet |
Called when the editor's TypedElementSelectionSet changes. Override to update details views, etc. | PersonaAssetEditorToolkit.h | |
virtual void RouteTreeSelectionToModeManager
(
const TConstArrayView< TSharedPtr< ISkeletonTreeItem > >& InItems |
PersonaAssetEditorToolkit.h |