Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
bool GetMaterialExpressionSource
&40;
FString & OutSource
&41;
Remarks
Get user source code for the material, with a list of code snippets to highlight representing the code for each MaterialExpression
- true on Success
Parameters
| Name | Description |
|---|---|
| OutSource | generated source code |
| OutHighlightMap | source code highlight list |