Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/MaterialX > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils/FMaterialXSurfac-
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h |
| Include | #include "MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.cpp |
FString GetFilePrefix
&40;
MaterialX::ElementPtr Element
&41; const
Remarks
Return the innermost file prefix of an element in the current scope, if it has none, it will take the one from its parents a file prefix or an empty string
Parameters
| Name | Description |
|---|---|
| Element | the Element to retrieve the file prefix from (can be anything, an input, a node, a nodegraph, etc.) |