Navigation
API > API/Runtime > API/Runtime/Engine
Material output expression for setting absorption properties of thin translucent materials.
| Name | UMaterialExpressionThinTranslucentMaterialOutput |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionThinTranslucentMaterialOutput.h |
| Include Path | #include "Materials/MaterialExpressionThinTranslucentMaterialOutput.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionThinTranslucentMaterialOutput : public UMaterialExpressionCustomOutput
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionCustomOutput → UMaterialExpressionThinTranslucentMaterialOutput
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionThinTranslucentMaterialOutput
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionThinTranslucentMaterialOutput.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SurfaceCoverage | FExpressionInput | Input for the surface coverage of both the thin surface part and the material on top (controled using Opacity input of the graph root node). | Materials/MaterialExpressionThinTranslucentMaterialOutput.h | |
| TransmittanceColor | FExpressionInput | Input for the transmittance color for a view perpendicular to the surface. Valid range is [0,1]. | Materials/MaterialExpressionThinTranslucentMaterialOutput.h |
Functions
Public
Overridden from UMaterialExpressionCustomOutput
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDisplayName() |
Materials/MaterialExpressionThinTranslucentMaterialOutput.h | ||
virtual FString GetFunctionName() |
Materials/MaterialExpressionThinTranslucentMaterialOutput.h | ||
virtual int32 GetNumOutputs() |
Override to enable multiple outputs. | Materials/MaterialExpressionThinTranslucentMaterialOutput.h |
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/MaterialExpressionThinTranslucentMaterialOutput.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionThinTranslucentMaterialOutput.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionThinTranslucentMaterialOutput.h |