Module |
|
Header |
/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
Include |
#include "AssetRegistry/IAssetRegistry.h" |
FAssetData GetAssetByObjectPath
(
const FName ObjectPath,
bool bIncludeOnlyOnDiskAssets
) const
Gets the asset data for the specified object path
the assets data;Will be invalid if object could not be found
Parameter |
Description |
---|---|
ObjectPath |
the path of the object to be looked up |
bIncludeOnlyOnDiskAssets |
if true, in-memory objects will be ignored. The call will be faster. |