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 EAssetCreationStatus CanCreateAsset
(
    const FString & AssetPathName,
    const UClass * AssetClass
)

Parameters

Parameter

Description

AssetPathName

Full path name of the asset to create

AssetClass

Class of the asset to create Returns a state from the creation enumeration, EAssetCreationStatus. Given a path and a class, check if an existing asset with a different class would not prevent the creation of such asset.

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