Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor
| Name | FMetaHumanCharacterSkinMaterials |
| Type | struct |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/Subsystem/MetaHumanCharacterSkinMaterials.h |
| Include Path | #include "Subsystem/MetaHumanCharacterSkinMaterials.h" |
Syntax
struct FMetaHumanCharacterSkinMaterials
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EyeEdgeSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| EyelashesHiLodSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| EyelashesSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| EyeLeftSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| EyeRightSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| EyeShellSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| FoundationPaletteColumns | int32 | Number of rows and columns to use when building the foundation color picker palette. | Subsystem/MetaHumanCharacterSkinMaterials.h |
| FoundationPaletteRows | int32 | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| FoundationSaturationShift | float | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| FoundationValueShift | float | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| RoughnessUIMultiplyParamName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| SalivaSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| TeethSlotName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| UseAnimatedMapsParamName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| UseCavityParamName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h | |
| UseTextureOverrideParamName | const FName | Subsystem/MetaHumanCharacterSkinMaterials.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyBlushMakeupToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static void ApplyEyelashesPropertiesToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Applies eyelashes material properties to given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyEyeMakeupToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static void ApplyEyeScleraTintBasedOnSkinTone
(
const FMetaHumanCharacterSkinSettings& InSkinSettings, |
Set the Sclera tint based on skin tone U value if not using a custom sclera tint. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyEyeSettingsToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Helper to apply all eye material settings to the given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyFoundationMakeupToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Apply makeup settings to the given face material set. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyFrecklesMaskToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Updates the freckles mask in the given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyFrecklesParameterToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Updates one of the freckles material parameters in the given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyFrecklesToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Updates all freckle parameters in the given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyLipsMakeupToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static void ApplyRoughnessMultiplyToMaterials
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Apply the Roughness UI Multiply to the skin materials | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplySkinAccentParameterToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Update the preview material parameter value of the given accent region. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplySkinAccentsToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Updates the accent region parameters in the given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplySkinParametersToMaterials
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Apply skin material parameter overrides based on the face texture index for better visuals | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplySynthesizedTexturesToFaceMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Helper to apply update the MH face material so that it references the (transient) synthesized textures | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyTeethPropertiesToMaterial
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Applies teeth material properties to given face material set | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void ApplyTextureOverrideParameterToMaterials
(
const FMetaHumanCharacterFaceMaterialSet& InFaceMaterialSet, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static UMaterialInstanceDynamic * GetBodyPreviewMaterialInstance
(
EMetaHumanCharacterSkinPreviewMaterial InPreviewMaterialType, |
Returns a new material instance for the body for a given preview material type | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FName GetBodyTextureParameterName
(
EBodyTextureType InTextureType, |
Returns the material parameter name for the a given body texture type. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void GetDefaultEyeSettings
(
FMetaHumanCharacterEyesSettings& OutEyeSettings |
Read the eye settings from the default eye material | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static UTexture2D * GetEyelashesMask
(
const FMetaHumanCharacterEyelashesProperties& InEyelashesProperties |
Returns the active mask texture used for the eyelashes mesh given the input eyelashes properties | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FName GetFaceTextureParameterName
(
EFaceTextureType InTextureType, |
Returns the material parameter name for the a given synthesized texture type. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FMetaHumanCharacterFaceMaterialSet GetHeadMaterialsFromMesh
(
TNotNull< class USkeletalMesh* > InFaceMesh |
Creates a Face Material set from the materials in the given face mesh | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FMetaHumanCharacterFaceMaterialSet GetHeadPreviewMaterialInstance
(
EMetaHumanCharacterSkinPreviewMaterial InPreviewMaterialType, |
Returns a new material instance for the head for a given preview material type. | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FName GetSkinMaterialSlotName
(
EMetaHumanCharacterSkinMaterialSlot InSlot |
Returns the material slot names for the skin materials | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static void SetBodyMaterialOnMesh
(
TNotNull< class UMaterialInterface* > InBodyMaterial, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static void SetHeadMaterialsOnMesh
(
const FMetaHumanCharacterFaceMaterialSet& InMaterialSet, |
Subsystem/MetaHumanCharacterSkinMaterials.h | ||
static void SetMaterialInstanceParent
(
TNotNull< class UMaterialInstanceConstant* > InMaterial, |
Set the parent of InMaterial to InNewParent preserving overrides and static switches | Subsystem/MetaHumanCharacterSkinMaterials.h | |
static FLinearColor ShiftFoundationColor
(
const FLinearColor& InColor, |
Shifts the input color based on the preset index to calculate the final foundation color to apply. | Subsystem/MetaHumanCharacterSkinMaterials.h |