Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionDepthOfFieldFunction
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionDepthOfFieldFunction.h |
| Include | #include "Materials/MaterialExpressionDepthOfFieldFunction.h" |
Syntax
UCLASS ()
class UMaterialExpressionDepthOfFieldFunction : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Depth | Usually nothing or PixelDepth | |
| TEnumAsByte< enum EDepthOfFieldFunctionValue > | FunctionValue | Determines the mapping place to use on the terrain. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionDepthOfFieldFunction
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |