Navigation
API > API/Plugins > API/Plugins/MetaHumanSDKEditor
Utility class handling the import or MetaHumans into a project.
| Name | FMetaHumanImport |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanSDK/Source/MetaHumanSDKEditor/Public/Import/MetaHumanImport.h |
| Include Path | #include "Import/MetaHumanImport.h" |
Syntax
class FMetaHumanImport
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMetaHumanImport() |
Import/MetaHumanImport.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnImportEnded | TBaseDelegate_TwoParams< bool, const FSourceMetaHuman &InSourceMetaHuman, const FInstalledMetaHuman &InTargetMetaHuman > | Delegate called at the end of the import process. It can be used to perform extra processing on the assets and files that were imported. | Import/MetaHumanImport.h |
| FOnImportStarted | TBaseDelegate_OneParam< bool, const FSourceMetaHuman &InSourceMetaHuman > | Delegate called when a MetaHuman starts being imported into the project. If this delegate is bound and returns false it will skip the import process. | Import/MetaHumanImport.h |
| FOnShouldImportAssetOrFile | TBaseDelegate_ThreeParams< bool, const FSourceMetaHuman &InSourceMetaHuman, const FString &InDestPath, bool bInIsFile > | Delegate called to check if given asset or file should be imported. This can be used to import a subset of assets of files into the project. | Import/MetaHumanImport.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MetaHumanImportInst | TSharedPtr< FMetaHumanImport > | Import/MetaHumanImport.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnImportEndedDelegate | FOnImportEnded | Import/MetaHumanImport.h | ||
| OnImportStartedDelegate | FOnImportStarted | Import/MetaHumanImport.h | ||
| OnShouldImportAssetOrFileDelegate | FOnShouldImportAssetOrFile | Import/MetaHumanImport.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutomationHandler | IMetaHumanImportAutomationHandler * | Import/MetaHumanImport.h | ||
| BulkImportHandler | IMetaHumanBulkImportHandler * | Import/MetaHumanImport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< UObject * > ImportAssetGroup
(
const FAssetGroupImportDescription ImportDescription |
This method imports an AssetGroup into a project, handling asset unloading and re-loading. | Import/MetaHumanImport.h | |
TOptional< UObject * > ImportMetaHuman
(
const FMetaHumanImportDescription& ImportDescription |
This method imports a MetaHuman into a project, handling asset unloading and re-loading and warning the user of any asset-version mismatches for assets shared by multiple MetaHumans in the project. | Import/MetaHumanImport.h | |
void SetAutomationHandler
(
IMetaHumanImportAutomationHandler* Handler |
Import/MetaHumanImport.h | ||
void SetBulkImportHandler
(
IMetaHumanBulkImportHandler* Handler |
Import/MetaHumanImport.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FMetaHumanImport > Get() |
Import/MetaHumanImport.h |