FMaterial::GetMaterialExpressionSource

Get user source code for the material, with a list of code snippets to highlight representing the code for each MaterialExpression

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Source

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

Syntax

bool GetMaterialExpressionSource
(
    FString & OutSource
)

Remarks

Get user source code for the material, with a list of code snippets to highlight representing the code for each MaterialExpression

Returns

  • true on Success

Parameters

Parameter

Description

OutSource

generated source code

OutHighlightMap

source code highlight list

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