Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Destroys an editor actor previously created via CreateMetaHumanCharacterEditorActor and unregisters it from the character's actor list.
RemoveObjectToEdit already destroys all actors registered for the character, so callers that paired Create with TryAddObjectToEdit / RemoveObjectToEdit do not need to invoke this directly. This is only required when CreateMetaHumanCharacterEditorActor was called without going through TryAddObjectToEdit (e.g. transient preview/thumbnail use cases) and the caller is responsible for tearing the actor down.
| Name | DestroyMetaHumanCharacterEditorActor |
| 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 |
void DestroyMetaHumanCharacterEditorActor
(
TScriptInterface < class IMetaHumanCharacterEditorActorInterface > InCharacterActor
)