Navigation
API > API/Runtime > API/Runtime/Engine
Material output expression for writing single layer water volume material properties.
| Name | UMaterialExpressionSingleLayerWaterMaterialOutput |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |
| Include Path | #include "Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionSingleLayerWaterMaterialOutput : public UMaterialExpressionCustomOutput
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionCustomOutput → UMaterialExpressionSingleLayerWaterMaterialOutput
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionSingleLayerWaterMaterialOutput
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsorptionCoefficients | FExpressionInput | Input for scattering coefficient describing how light bounce is absorbed. | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | |
| ColorScaleBehindWater | FExpressionInput | Input for custom color multiplier for scene color behind water. | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | |
| PhaseG | FExpressionInput | Input for phase function 'g' parameter describing how much forward(g>0) or backward (g<0) light scatter around. | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | |
| ScatteringCoefficients | FExpressionInput | Input for scattering coefficient describing how light scatter around and is absorbed. | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |
Functions
Public
Overridden from UMaterialExpressionCustomOutput
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDisplayName() |
Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | ||
virtual FString GetFunctionName() |
Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | ||
virtual int32 GetNumOutputs() |
Override to enable multiple outputs. | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionSingleLayerWaterMaterialOutput.h |