Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionStrataBSDF
- UMaterialExpressionStrataSimpleClearCoatBSDF
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionStrata.h |
| Include | #include "Materials/MaterialExpressionStrata.h" |
Syntax
class UMaterialExpressionStrataSimpleClearCoatBSDF : public UMaterialExpressionStrataBSDF
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | ClearCoatCoverage | Controls the coverage of the clear coat layer: 0 means no clear coat, 1 means coat is fully visible. | |
| FExpressionInput | ClearCoatRoughness | Controls how rough the top layer of the material is. | |
| FExpressionInput | DiffuseAlbedo | Defines the diffused albedo, the percentage of light reflected as diffuse from the surface. | |
| FExpressionInput | EmissiveColor | Emissive color of the medium (type = float3, unit = luminance, default = 0) | |
| FExpressionInput | F0 | Defines the color and brightness of the specular highlight where the surface is facing the camera. | |
| FExpressionInput | Normal | Take the surface normal as input. | |
| FExpressionInput | Roughness | Controls how rough the bottom layer of the material is. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionStrataSimpleClearCoatBSDF
(
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 | GatherStrataMaterialInfo
(
FStrataMaterialInfo& StrataMaterialInfo, |
Recursively parse nodes outputing strata material in order to gather all the possible shading models used in a material graph output a Strata material. | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| FName | GetInputName
(
int32 InputIndex |
||
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | IsResultStrataMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Strata material. | |
| FStrataOperator * | StrataGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. |