FDatasmithImporterUtils::CanCreateAsset

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

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

Include

#include "Utility/DatasmithImporterUtils.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/Utility/DatasmithImporterUtils.cpp

Syntax

static bool CanCreateAsset
(
    const FString & AssetPathName,
    const UClass * AssetClass,
    FText & OutFailReason
)

Parameters

Parameter

Description

AssetPathName

Full path name of the asset to create

AssetClass

Class of the asset to create

OutFailReason

Text containing explanation about failure Returns true if the asset can be safely created Given a path 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

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