Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionSubsurfaceMediumMaterialOutput
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSubsurfaceMediumMaterialOutput.h |
Include | #include "Materials/MaterialExpressionSubsurfaceMediumMaterialOutput.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionSubsurfaceMediumMaterialOutput : public UMaterialExpressionCustomOutput
Remarks
Material output expression for setting the mean free path and scattering distribution properties of subsurface profile (for the Path Tracer Only).
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FExpressionInput | MeanFreePath | Input for mean free path (cm). |
![]() ![]() |
FExpressionInput | ScatteringDistribution | Input for scattering distribution. Valid range is (-1, 1). Fallback to zero if not set |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionSubsurfaceMediumMaterialOutput
(
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 |