Navigation
API > API/Runtime > API/Runtime/Engine
A utility value whose sole purpose is to report a semantic error if and when it is analyzed. This value is used to mark an invalid path, for example, in combination with StageSwitch, to ensure that a value is only available in a subset of stages. Note: this error is reported only if this value is analyzed. If the builder determines that this value does not contribute to the final output, no error is reported (since the value will not be analyzed either).
| Name | FAnalysisError |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FAnalysisError : public MIR::TValue< VK_AnalysisError >
Inheritance Hierarchy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Expression | UMaterialExpression * | The expression originating the invalid operation. | Materials/MaterialIR.h | |
| Message | FSimpleStringView | The error message. | Materials/MaterialIR.h |