Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/Utility > API/Plugins/DatasmithImporter/Utility/FDatasmithImporterUtils > API/Plugins/DatasmithImporter/Utility/FDatasmithImporterUtils/CanCreateAsset
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h |
| Include | #include "Utility/DatasmithImporterUtils.h" |
template<class ObjectType>
static bool CanCreateAsset
&40;
const UPackage &42; Package,
const FString & AssetName,
FText & OutFailReason
&41;
Parameters
| Name | Description |
|---|---|
| Package | Package to create the asset in |
| AssetName | The name of the asset to create |
| OutFailReason | Text containing explanation about failure Given a package, a name and a class, check if an existing asset with a different class would not prevent the creation of such asset. A special report is done for object redirector |