Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterExportBluepri-
Description
Export the combined posed DNA produced by a previous ConformToTargetMeshes call.
Reads the body posed state stored on the character under InParams.TargetMeshKey, converts it to a combined head+body DNA via FState::StateToDna(BaseDNA, bIsCombine=true, bUsePosedJoints=true), and writes it as a UDNA asset to ProjectPath and/or as a .dna file to ExternalPath. This is the headless equivalent of the editor's "Save Pose" button under the Mesh Import tool's manual solve actions.
Character must be valid and ConformToTargetMeshes must have run with a matching TargetMeshKey.
| Name | ExportPosedDNA |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/MetaHumanCharacterExportBlueprintLibrary.h |
| Include Path | #include "MetaHumanCharacterExportBlueprintLibrary.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/MetaHumanCharacterExportBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="MetaHuman|Export")
static void ExportPosedDNA
(
UMetaHumanCharacter * InCharacter,
const FMetaHumanPosedDNAExportParams & InParams
)