Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionPathTracingRayTypeSwitch |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPathTracingRayTypeSwitch.h |
| Include Path | #include "Materials/MaterialExpressionPathTracingRayTypeSwitch.h" |
Syntax
UCLASS ()
class UMaterialExpressionPathTracingRayTypeSwitch : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionPathTracingRayTypeSwitch
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndirectDiffuse | FExpressionInput | Used by the path tracer on indirect diffuse rays | Materials/MaterialExpressionPathTracingRayTypeSwitch.h | |
| IndirectSpecular | FExpressionInput | Used by the path tracer on indirect specular rays | Materials/MaterialExpressionPathTracingRayTypeSwitch.h | |
| IndirectVolume | FExpressionInput | Used by the path tracer on indirect volume rays | Materials/MaterialExpressionPathTracingRayTypeSwitch.h | |
| Main | FExpressionInput | Used for camera rays (or for non-path traced shading) | Materials/MaterialExpressionPathTracingRayTypeSwitch.h | |
| Shadow | FExpressionInput | Used by the path tracer on shadow rays (this only applies for non-opaque blend modes) | Materials/MaterialExpressionPathTracingRayTypeSwitch.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/MaterialExpressionPathTracingRayTypeSwitch.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPathTracingRayTypeSwitch.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionPathTracingRayTypeSwitch.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionPathTracingRayTypeSwitch.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionPathTracingRayTypeSwitch.h |