Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Fit the state to the supplied target vertices, which will use whatever part(s) the user has supplied to fit the model EHeadFitToTargetMeshes::Head vertices must always be supplied in the InTargetVertices, using the supplied fitting options. Returns true if successful, false otherwise
| Name | FitStateToTargetVertices |
| 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 |
bool FitStateToTargetVertices
(
TNotNull< UMetaHumanCharacter * > InCharacter,
const TMap < EHeadFitToTargetMeshes , TArray < FVector3f > > & InTargetVertices,
const FFitToTargetOptions & InFitToTargetOptions
)