Navigation
API > API/Plugins > API/Plugins/BaseCharacterFXEditor
The toolkit is supposed to act as the UI manager for the asset editor. It's responsible for setting up viewports and most toolbars, except for the internals of the mode panel. However, because the toolkit also sets up the mode manager, and much of the important state is held in the mode managed by the mode manager, the toolkit also ends up initializing the mode. Thus, the FBaseCharacterFXEditorToolkit ends up being the central place for the CharacterFX Asset Editor setup.
| Name | FBaseCharacterFXEditorToolkit |
| Type | class |
| Header File | /Engine/Plugins/Experimental/CharacterFXEditor/BaseCharacterFXEditor/Source/BaseCharacterFXEditor/Public/BaseCharacterFXEditorToolkit.h |
| Include Path | #include "BaseCharacterFXEditorToolkit.h" |
Syntax
class FBaseCharacterFXEditorToolkit : public FBaseAssetToolkit
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FAssetEditorToolkit → FBaseAssetToolkit → FBaseCharacterFXEditorToolkit
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBaseCharacterFXEditorToolkit
(
UAssetEditor* InOwningAssetEditor, |
BaseCharacterFXEditorToolkit.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddViewportOverlayWidget
(
TSharedRef< SWidget > InViewportOverlayWidget, |
BaseCharacterFXEditorToolkit.h | ||
virtual AssetEditorViewportFactoryFunction GetViewportDelegate() |
BaseCharacterFXEditorToolkit.h | ||
virtual bool OnRequestClose
(
EAssetEditorCloseReason InCloseReason |
BaseCharacterFXEditorToolkit.h | ||
virtual void OnToolkitHostingFinished
(
const TSharedRef< IToolkit >& Toolkit |
BaseCharacterFXEditorToolkit.h | ||
virtual void OnToolkitHostingStarted
(
const TSharedRef< IToolkit >& Toolkit |
BaseCharacterFXEditorToolkit.h | ||
virtual void RegisterTabSpawners
(
const TSharedRef< FTabManager >& InTabManager |
BaseCharacterFXEditorToolkit.h | ||
virtual void RemoveViewportOverlayWidget
(
TSharedRef< SWidget > InViewportOverlayWidget |
BaseCharacterFXEditorToolkit.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateEditorModeManager() |
Called from FBaseAssetToolkit::CreateWidgets. | BaseCharacterFXEditorToolkit.h | |
virtual void CreateEditorModeUILayer() |
Override this to create the concrete CharacterFXEditorModeUILayer. | BaseCharacterFXEditorToolkit.h | |
virtual TSharedPtr< FEditorViewportClient > CreateEditorViewportClient() |
Called from FBaseAssetToolkit::CreateWidgets to populate ViewportClient, but otherwise only used in our own viewport delegate | BaseCharacterFXEditorToolkit.h | |
virtual FEditorModeID GetEditorModeId() |
Override this to get the Mode ID of the concrete CharacterFXEditorMode. | BaseCharacterFXEditorToolkit.h | |
virtual void InitializeEdMode
(
UBaseCharacterFXEditorMode* EdMode |
Override this to provide the EdMode with any custom data it needs. | BaseCharacterFXEditorToolkit.h | |
virtual void PostInitAssetEditor() |
BaseCharacterFXEditorToolkit.h |