Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionPathTracingQualitySwitch |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPathTracingQualitySwitch.h |
| Include Path | #include "Materials/MaterialExpressionPathTracingQualitySwitch.h" |
Syntax
UCLASS ()
class UMaterialExpressionPathTracingQualitySwitch : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionPathTracingQualitySwitch
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Normal | FExpressionInput | Used for non-path traced modes | Materials/MaterialExpressionPathTracingQualitySwitch.h | |
| PathTraced | FExpressionInput | Used by the path tracer | Materials/MaterialExpressionPathTracingQualitySwitch.h |
Functions
Public
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/MaterialExpressionPathTracingQualitySwitch.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPathTracingQualitySwitch.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionPathTracingQualitySwitch.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionPathTracingQualitySwitch.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionPathTracingQualitySwitch.h |