Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionHairColor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionHairColor.h |
| Include | #include "Materials/MaterialExpressionHairColor.h" |
Syntax
class UMaterialExpressionHairColor : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | DyeColor | Control the dyeing color of the hair. | |
| FExpressionInput | Melanin | Control the concentration of melanin in hair. | |
| FExpressionInput | Redness | Control the redness tint of the hair. Value is normalize over the plausible range of human hair. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionHairColor
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |