Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionThinTranslucentMaterialOutput
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionThinTranslucentMaterialOutput.h |
Include | #include "Materials/MaterialExpressionThinTranslucentMaterialOutput.h" |
Syntax
class UMaterialExpressionThinTranslucentMaterialOutput : public UMaterialExpressionCustomOutput
Remarks
Material output expression for setting absorption properties of thin translucent materials.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | TransmittanceColor | Input for the transmittance color for a view perpendicular to the surface. Valid range is [0,1]. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionThinTranslucentMaterialOutput
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpressionCustomOutput
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). |
![]() ![]() |
uint32 | GetInputType
(
int32 InputIndex |