FMaterialExpressionKey

Uniquely identifies a material expression output.

Windows
MacOS
Linux

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
)

References

Module

Engine

Header

Runtime/Engine/Public/MaterialShared.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback