/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h
Templated versions of above
template<class AssetType> AssetType * GetPrimaryAssetObject ( const [FPrimaryAssetId](API\Runtime\CoreUObject\UObject\FPrimaryAssetId) & PrimaryAssetId ) const