Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionSceneDepthWithoutWater |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSceneDepthWithoutWater.h |
| Include Path | #include "Materials/MaterialExpressionSceneDepthWithoutWater.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionSceneDepthWithoutWater : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionSceneDepthWithoutWater
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionSceneDepthWithoutWater() |
Materials/MaterialExpressionSceneDepthWithoutWater.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstInput | FVector2D | Only used if Input is not hooked up | Materials/MaterialExpressionSceneDepthWithoutWater.h |
|
| FallbackDepth | float | Depth to fall back to in case the needed texture isn't available on a particular platform or configuration | Materials/MaterialExpressionSceneDepthWithoutWater.h |
|
| Input | FExpressionInput | Based on the input mode the input will be treated as either: UV coordinates to apply to the scene depth lookup or an offset to apply to the scene depth lookup, in a 2d fraction of the screen. | Materials/MaterialExpressionSceneDepthWithoutWater.h |
|
| InputMode | TEnumAsByte< enum EMaterialSceneAttributeInputMode::Type > | Coordinates - UV coordinates to apply to the scene depth lookup. | Materials/MaterialExpressionSceneDepthWithoutWater.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionSceneDepthWithoutWater.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionSceneDepthWithoutWater.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionSceneDepthWithoutWater.h | ||
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionSceneDepthWithoutWater.h |