UMaterialExpression::UpdateMaterialExpressionGuid

Generates a GUID for this expression if one doesn't already exist.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h

Include

#include "Materials/MaterialExpression.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

void UpdateMaterialExpressionGuid
(
    bool bForceGeneration,
    bool bAllowMarkingPackageDirty
)

Remarks

Generates a GUID for this expression if one doesn't already exist.

Parameters

Parameter

Description

bForceGeneration

Whether we should generate a GUID even if it is already valid.

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