Navigation
Unreal Engine C++ API Reference > Plugins > BaseCharacterFXEditor
Inheritance Hierarchy
- IAssetEditorInstance
- FBaseToolkit
- TSharedFromThis
- FAssetEditorToolkit
- FBaseAssetToolkit
- FBaseCharacterFXEditorToolkit
- FExampleCharacterFXEditorToolkit
References
Module | BaseCharacterFXEditor |
Header | /Engine/Plugins/Experimental/CharacterFXEditor/BaseCharacterFXEditor/Source/BaseCharacterFXEditor/Public/BaseCharacterFXEditorToolkit.h |
Include | #include "BaseCharacterFXEditorToolkit.h" |
Syntax
class FBaseCharacterFXEditorToolkit : public FBaseAssetToolkit
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TSharedPtr< FWorkspaceItem > | EditorMenuCategory | A default "CharacterFXEditor" category is created in RegisterTabSpawners. Override that function to set this to a concrete class type. |
![]() |
TSharedPtr< FBaseCharacterFXEditorModeUILayer > | ModeUILayer | Handles the hosting of additional toolkits, such as the mode toolkit. |
![]() |
TUniquePtr< FPreviewScene > | ObjectScene | PreviewScene showing the objects being edited. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FBaseCharacterFXEditorToolkit
(
UAssetEditor* InOwningAssetEditor, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Override this to create the concrete CharacterFXEditorModeUILayer. | |
![]() ![]() ![]() |
FEditorModeID | Override this to get the Mode ID of the concrete CharacterFXEditorMode. | |
![]() ![]() |
void | InitializeEdMode
(
UBaseCharacterFXEditorMode* EdMode |
Override this to provide the EdMode with any custom data it needs. |
Overridden from FBaseAssetToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TSharedPtr< FEditorViewportClient > | Called from FBaseAssetToolkit::CreateWidgets to populate ViewportClient, but otherwise only used in our own viewport delegate | |
![]() ![]() |
AssetEditorViewportFactoryFunction |
Overridden from FAssetEditorToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddViewportOverlayWidget
(
TSharedRef< SWidget > InViewportOverlayWidget |
Called when a toolkit requests an overlay widget to be added to the viewport. |
![]() ![]() |
bool | OnRequestClose
(
EAssetEditorCloseReason InCloseReason |
Called when this toolkit is requested to close. Returns false if closing should be prevented. |
![]() ![]() |
void | OnToolkitHostingFinished
(
const TSharedRef< IToolkit >& Toolkit |
Called when another toolkit (such as a ed mode toolkit) is no longer being hosted in this asset editor toolkit. |
![]() ![]() |
void | OnToolkitHostingStarted
(
const TSharedRef< IToolkit >& Toolkit |
Called when another toolkit (such as a ed mode toolkit) is being hosted in this asset editor toolkit. |
![]() ![]() |
void | Perform any initialization that should happen after the basic toolkit needs are created for the asset editor. | |
![]() ![]() |
void | RemoveViewportOverlayWidget
(
TSharedRef< SWidget > InViewportOverlayWidget |
Called when a toolkit requests the overlay widget to be removed. |
Overridden from FBaseToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called from FBaseAssetToolkit::CreateWidgets. |
Overridden from IToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | RegisterTabSpawners
(
const TSharedRef< FTabManager >& TabManager |
IToolkit interface |