Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionHairColor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionHairColor.h |
| Include Path | #include "Materials/MaterialExpressionHairColor.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionHairColor : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionHairColor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionHairColor
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionHairColor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DyeColor | FExpressionInput | Control the dyeing color of the hair. By default there is no dyeing color. | Materials/MaterialExpressionHairColor.h |
|
| Melanin | FExpressionInput | Control the concentration of melanin in hair. | Materials/MaterialExpressionHairColor.h |
|
| Redness | FExpressionInput | Control the redness tint of the hair. Value is normalize over the plausible range of human hair. | Materials/MaterialExpressionHairColor.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionHairColor.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionHairColor.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionHairColor.h |