Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionSubstrateMetalnessToDiffuseAlbedoF0 |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSubstrate.h |
| Include Path | #include "Materials/MaterialExpressionSubstrate.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object,
DisplayName="Substrate Metalness-To-DiffuseColorF0")
class UMaterialExpressionSubstrateMetalnessToDiffuseAlbedoF0 : public UMaterialExpressionSubstrateUtilityBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionSubstrateUtilityBase → UMaterialExpressionSubstrateMetalnessToDiffuseAlbedoF0
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionSubstrateMetalnessToDiffuseAlbedoF0
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionSubstrate.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseColor | FExpressionInput | Defines the overall color of the Material. (type = float3, unit = unitless, defaults to 0.18) | Materials/MaterialExpressionSubstrate.h | |
| Metallic | FExpressionInput | Controls how "metal-like" your surface looks like. | Materials/MaterialExpressionSubstrate.h | |
| Specular | FExpressionInput | Used to scale the current amount of specularity on non-metallic surfaces and is a value between 0 and 1 (type = float, unit = unitless, defaults to plastic 0.5) | Materials/MaterialExpressionSubstrate.h |
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionSubstrate.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionSubstrate.h | ||
| Get a tooltip for the specified connector. | Materials/MaterialExpressionSubstrate.h | ||
| Get a tooltip for the expression itself. | Materials/MaterialExpressionSubstrate.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionSubstrate.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionSubstrate.h |