Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Requires the character to be added for edit using TryAddObjectToEdit
| Name | SetBodyConstraints |
| 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 SetBodyConstraints
(
const UMetaHumanCharacter * InCharacter,
const TArray < FMetaHumanCharacterBodyConstraint > & InBodyConstraints
)
Parameters
| Name | Remarks |
|---|---|
| InCharacter | The character to update the constraints |
| InBodyContrains | The list of body constraints to apply to the character |