Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/FMaterialXSurfaceShaderAbstract
Description
Return the innermost file prefix of an element in the current scope. If it has none, it will take the one from its parents.
| Name | GetFilePrefix |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h |
| Include Path | #include "MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.cpp |
FString GetFilePrefix
(
MaterialX::ElementPtr Element
) const
a file prefix or an empty string.
Parameters
| Name | Remarks |
|---|---|
| Element | the Element to retrieve the file prefix from. This can be anything: an input, a node, a nodegraph, and so on. |