Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Spawns and initializes an actor implementing IMetaHumanCharacterEditorActorInterface in the given world.
The actor will have the all of its components initialized from the state stored in the MetaHumanCharacter Asset.
This function will try to spawn the actor specified by the selected MetaHuman Character Pipeline, but falls back to a default actor type if that fails, so it's guaranteed to return a valid actor.
| Name | CreateMetaHumanCharacterEditorActor |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/MetaHumanCharacterEditorSubsystem.h |
| Include Path | #include "MetaHumanCharacterEditorSubsystem.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/MetaHumanCharacterEditorSubsystem.cpp |
TScriptInterface < IMetaHumanCharacterEditorActorInterface > CreateMetaHumanCharacterEditorActor
(
TNotNull< UMetaHumanCharacter * > InCharacter,
TNotNull< class UWorld * > InWorld
)