Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/Utility > API/Plugins/DatasmithImporter/Utility/FDatasmithImporterUtils > API/Plugins/DatasmithImporter/Utility/FDatasmithImporterUtils/FindAsset
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h |
| Include | #include "Utility/DatasmithImporterUtils.h" |
template<typename ObjectType>
static ObjectType * FindAsset
(
const FDatasmithAssetsImportContext & AssetsContext,
const TCHAR * ObjectPathName
)
Remarks
Finds a UStaticMesh, UTexture or UMaterialInterface. Relative paths are resolved based on the AssetsContext. Absolute paths are sent through FDatasmithImporterUtils::FindObject.