FMaterialExpressionKey

Uniquely identifies a material expression output.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FMaterialExpressionKey

Remarks

Uniquely identifies a material expression output. Used by the material compiler to keep track of which output it is compiling.

Variables

Name Description

Public variable

bool

 

bCompilingPreviousFrameKey

Expressions are different (e.g. View.PrevWorldViewOrigin) when using previous frame's values, value if from FHLSLMaterialTranslator::bCompilingPreviousFrame.

Public variable

UMaterialExpres...

 

Expression

Public variable

FGuid

 

MaterialAttributeID

Attribute currently being compiled through a MatterialAttributes connection.

Public variable

int32

 

OutputIndex

Constructors

Name Description

Public function

FMaterialExpressionKey

(
    UMaterialExpression* InExpress...,
    int32 InOutputIndex
)

Public function

FMaterialExpressionKey

(
    UMaterialExpression* InExpress...,
    int32 InOutputIndex,
    const FGuid& InMaterialAttributeID,
    bool bInCompilingPreviousFrameKey
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss