Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/FMetaHumanCharacterBodyTextureUt-
Description
Get the skin tone and update the body material with rgb bias parameters and textures. Updates the rgb bias and textures for the chest in the face material to match
| Name | GetSkinToneAndUpdateMaterials |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/MetaHumanCharacterBodyTextureUtils.h |
| Include Path | #include "MetaHumanCharacterBodyTextureUtils.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/MetaHumanCharacterBodyTextureUtils.cpp |
static void GetSkinToneAndUpdateMaterials
(
const FMetaHumanCharacterSkinProperties & InSkinProperties,
const FMetaHumanFaceTextureSynthesizer & InFaceTextureSynthesizer,
const TMap < EBodyTextureType , TObjectPtr < class UTexture2D > > & InBodyTextures,
const struct FMetaHumanCharacterFaceMaterialSet & InFaceMaterialSet,
TNotNull< UMaterialInstanceDynamic * > InBodyMID
)