FDatasmithImporterUtils::FindAsset

Finds a [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh), [UTexture](API\Runtime\Engine\Engine\UTexture) or [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface).

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h

Include

#include "Utility/DatasmithImporterUtils.h"

Syntax

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss