Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |
Include |
#include "Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h" |
class UMaterialExpressionSingleLayerWaterMaterialOutput : public UMaterialExpressionCustomOutput
Material output expression for writing single layer water volume material properties.
Name | Description | ||
---|---|---|---|
|
AbsorptionCoefficients |
Input for scattering coefficient describing how light bounce is absorbed. Valid range is [0,+inf[. |
|
|
ColorScaleBehindWater |
Input for custom color multiplier for scene color behind water. |
|
|
PhaseG |
Input for phase function 'g' parameter describing how much forward(g>0) or backward (g<0) light scatter around. |
|
|
ScatteringCoefficients |
Input for scattering coefficient describing how light scatter around and is absorbed. |
Name | Description | |
---|---|---|
|
UMaterialExpressionSingleLayerWaterMaterialOutput ( |
Name | Description | ||
---|---|---|---|
|
GetDisplayName() |
||
|
GetFunctionName() |
||
|
GetNumOutputs() |
Override to enable multiple outputs. |
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). |