Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Updates the face state to fit the current body state, and optionally re-fits teeth and/or eyes using vertices extracted from the supplied template mesh objects. Call this after ConformBody.
| Name | FitFaceStateFromBodyWithEyesTeethTemplate |
| 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="MetaHuman|Conforming")
bool FitFaceStateFromBodyWithEyesTeethTemplate
(
UMetaHumanCharacter * InMetaHumanCharacter,
UObject * InTeethMesh,
UObject * InLeftEyeMesh,
UObject * InRightEyeMesh,
bool bInMatchVerticesByUVs
)
true if the face state was successfully updated.
Parameters
| Name | Remarks |
|---|---|
| InMetaHumanCharacter | The character whose face state will be updated. |
| InTeethMesh | Optional static or skeletal mesh in MetaHuman teeth topology. Pass null to skip. |
| InLeftEyeMesh | Optional static or skeletal mesh in MetaHuman left eye topology. Pass null to skip. |
| InRightEyeMesh | Optional static or skeletal mesh in MetaHuman right eye topology. Pass null to skip. |
| bInMatchVerticesByUVs | When true, use UV correspondence to map template vertices to the DNA archetype order. |