Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionStrataUtilityBase
- UMaterialExpressionStrataMetalnessToDiffuseAlbedoF0
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionStrata.h |
| Include | #include "Materials/MaterialExpressionStrata.h" |
Syntax
class UMaterialExpressionStrataMetalnessToDiffuseAlbedoF0 : public UMaterialExpressionStrataUtilityBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | BaseColor | Defines the overall color of the Material. (type = float3, unit = unitless, defaults to 0.18) | |
| FExpressionInput | Metallic | Controls how "metal-like" your surface looks like. | |
| FExpressionInput | Specular | 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) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionStrataMetalnessToDiffuseAlbedoF0
(
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). | |
| void | GetConnectorToolTip
(
int32 InputIndex, |
Get a tooltip for the specified connector. | |
| void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. | |
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |