Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionAbsorptionMediumMaterialOutput
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionAbsorptionMediumMaterialOutput.h |
| Include | #include "Materials/MaterialExpressionAbsorptionMediumMaterialOutput.h" |
Syntax
class UMaterialExpressionAbsorptionMediumMaterialOutput : public UMaterialExpressionCustomOutput
Remarks
Material output expression for setting absorption properties of solid refractive glass (for the Path Tracer Only).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | TransmittanceColor | Input for the transmittance color seen after travelling a distance of 100 units into the object. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionAbsorptionMediumMaterialOutput
(
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). |