Navigation
API > API/Runtime > API/Runtime/Engine
Uniquely identifies a material expression output. Used by the material compiler to keep track of which output it is compiling.
| Name | FMaterialExpressionKey |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
Syntax
class FMaterialExpressionKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialExpressionKey
(
UMaterialExpression* InExpression, |
MaterialShared.h | ||
FMaterialExpressionKey
(
UMaterialExpression* InExpression, |
MaterialShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCompilingPreviousFrameKey | bool | Expressions are different (e.g. ResolvedView.PrevWorldViewOrigin) when using previous frame's values, value if from FHLSLMaterialTranslator::bCompilingPreviousFrame. | MaterialShared.h | |
| Expression | UMaterialExpression * | MaterialShared.h | ||
| MaterialAttributeID | FGuid | Attribute currently being compiled through a MatterialAttributes connection. | MaterialShared.h | |
| OutputIndex | int32 | MaterialShared.h |