Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSubstrateUtilityBase
- UMaterialExpressionSubstrateHazinessToSecondaryRoughness
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSubstrate.h |
| Include | #include "Materials/MaterialExpressionSubstrate.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object,
DisplayName="Substrate Haziness-To-Secondary-Roughness")
class UMaterialExpressionSubstrateHazinessToSecondaryRoughness : public UMaterialExpressionSubstrateUtilityBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | BaseRoughness | The base roughness of the surface. It represented the smoothest part of the reflection. | |
| FExpressionInput | Haziness | Haziness represent the amount of irregularity of the surface. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSubstrateHazinessToSecondaryRoughness
(
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 |