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
(
MaterialX::ElementPtr Element
) 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. This can be anything: an input, a node, a nodegraph, and so on. |