Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor
Modular feature interface implemented by external plugins to contribute an import tool to the MetaHuman Character Editor's Import palette.
External plugins should:
Subclass IMetaHumanImportToolFeature and implement all pure virtual methods.
Declare a static instance of their subclass.
In StartupModule(), call: IModularFeatures::Get().RegisterModularFeature(IMetaHumanImportToolFeature::GetModularFeatureName(), &MyFeature);
In ShutdownModule(), call: IModularFeatures::Get().UnregisterModularFeature(IMetaHumanImportToolFeature::GetModularFeatureName(), &MyFeature);
| Name | IMetaHumanImportToolFeature |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/Tools/MetaHumanImportToolFeature.h |
| Include Path | #include "Tools/MetaHumanImportToolFeature.h" |
Syntax
class IMetaHumanImportToolFeature : public IModularFeature
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInteractiveToolBuilder * CreateBuilder
(
UObject* Outer |
Creates the tool builder. | Tools/MetaHumanImportToolFeature.h | |
TSharedRef< SWidget > CreateContent
(
UMetaHumanCharacterExternalImportTool* Tool |
Creates the scrollable content widget shown in the tool's panel. | Tools/MetaHumanImportToolFeature.h | |
TSharedPtr< FUICommandInfo > GetCommand() |
Command for the palette toggle button. Must be registered before the editor mode enters. | Tools/MetaHumanImportToolFeature.h | |
| The concrete UClass of the tool. | Tools/MetaHumanImportToolFeature.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSlateIcon GetIcon () |
Optional icon shown on the palette toggle button. | Tools/MetaHumanImportToolFeature.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetModularFeatureName() |
Feature name key used with IModularFeatures::Get(). | Tools/MetaHumanImportToolFeature.h |