Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Requires the character to be added for edit using TryAddObjectToEdit The number of landmark indices and deltas must match
| Name | TranslateFaceLandmarks |
| 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 |
UFUNCTION (BlueprintCallable, Category="Sculpting")
void TranslateFaceLandmarks
(
const UMetaHumanCharacter * InCharacter,
const TArray < int32 > & InLandmarkIndices,
const TArray < FVector > & InDeltas
)
Parameters
| Name | Remarks |
|---|---|
| InCharacter | the character to translate the landmarks for |
| InLandmarkIndices | The index of each landmark to be translated |
| InDeltas | the list of translation deltas to apply to each landmark |