| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionDepthFade.h |
Include |
#include "Materials/MaterialExpressionDepthFade.h" |
class UMaterialExpressionDepthFade : public UMaterialExpression
Scales Opacity by a Linear fade based on SceneDepth, from 0 at PixelDepth to 1 at FadeDistance
Name | Description | ||
---|---|---|---|
|
FadeDistance |
World space distance over which the fade should take place. |
|
|
float |
FadeDistanceDefault |
World space distance over which the fade should take place. |
|
InOpacity |
Input opacity which will be scaled by the result of the fade. |
|
|
float |
OpacityDefault |
Opacity which will be scaled by the result of the fade. This is used when InOpacity is unconnected. |
Name | Description | |
---|---|---|
|
UMaterialExpressionDepthFade ( |
Name | Description | ||
---|---|---|---|
|
Compile ( |
Create the new shader code chunk needed for the Abs expression |
|
|
GetCaption |
Returns the text to display on the material expression (in the material editor). |
|
|
GetInputName ( |