Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/FMetaHumanCharacterSkinMaterials
Description
Shifts the input color based on the preset index to calculate the final foundation color to apply. If InColorIndex is INDEX_NONE returns InColor so that no shift happens.
| Name | ShiftFoundationColor |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/Subsystem/MetaHumanCharacterSkinMaterials.h |
| Include Path | #include "Subsystem/MetaHumanCharacterSkinMaterials.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/Subsystem/MetaHumanCharacterSkinMaterials.cpp |
static FLinearColor ShiftFoundationColor
(
const FLinearColor & InColor,
int32 InColorIndex,
int32 InShowColumns,
int32 InShowRows,
float InSaturationShift,
float InValueShift
)