Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/FDatasmithImporterUtils
Overloads
Name
Remarks
Include Path
Unreal Specifiers
Utility/DatasmithImporterUtils.h
Utility/DatasmithImporterUtils.h
Utility/DatasmithImporterUtils.h
Utility/DatasmithImporterUtils.h
Utility/DatasmithImporterUtils.h
CanCreateAsset(const FString &)
Name
CanCreateAsset
Type
function
Header File
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Include Path
#include "Utility/DatasmithImporterUtils.h"
template<class ObjectType>
static EAssetCreationStatus CanCreateAsset
(
const FString & AssetPathName
)
Copy full snippet
Parameters
Name
Remarks
AssetPathName
Full path name of the asset to create Calls CanCreateAsset(const FString&, const UClass*) with the instantiating class
CanCreateAsset(const FString &, FText &)
Name
CanCreateAsset
Type
function
Header File
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Include Path
#include "Utility/DatasmithImporterUtils.h"
template<class ObjectType>
static bool CanCreateAsset
(
const FString & AssetPathName,
FText & OutFailReason
)
Copy full snippet
Parameters
Name
Remarks
AssetPathName
Full path name 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
CanCreateAsset(const FString &, const UClass *)
Name
CanCreateAsset
Type
function
Header File
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Include Path
#include "Utility/DatasmithImporterUtils.h"
Source
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/Utility/DatasmithImporterUtils.cpp
static EAssetCreationStatus CanCreateAsset
(
const FString & AssetPathName,
const UClass * AssetClass
)
Copy full snippet
Parameters
Name
Remarks
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.
CanCreateAsset(const UPackage *, const FString &, FText &)
Name
CanCreateAsset
Type
function
Header File
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Include Path
#include "Utility/DatasmithImporterUtils.h"
template<class ObjectType>
static bool CanCreateAsset
(
const UPackage * Package,
const FString & AssetName,
FText & OutFailReason
)
Copy full snippet
Parameters
Name
Remarks
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
CanCreateAsset(const FString &, const UClass *, FText &)
Name
CanCreateAsset
Type
function
Header File
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Include Path
#include "Utility/DatasmithImporterUtils.h"
Source
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/Utility/DatasmithImporterUtils.cpp
static bool CanCreateAsset
(
const FString & AssetPathName,
const UClass * AssetClass,
FText & OutFailReason
)
Copy full snippet
Parameters
Name
Remarks
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