FEditorToolAssetAPI::MakeNewAssetPackage

Creates a new package for an asset

Windows
MacOS
Linux

Override Hierarchy

IToolsContextAssetAPI::MakeNewAssetPackage()

FEditorToolAssetAPI::MakeNewAssetPackage()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tools/EditorToolAssetAPI.h

Include

#include "Tools/EditorToolAssetAPI.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tools/EditorToolAssetAPI.cpp

Syntax

virtual UPackage * MakeNewAssetPackage
(
    const FString & FolderPath,
    const FString & AssetBaseName,
    FString & UniqueAssetNameOut
)

Remarks

Creates a new package for an asset

Returns

new package

Parameters

Parameter

Description

FolderPath

path for new package

AssetBaseName

base name for asset

UniqueAssetNameOut

unique name in form of AssetBaseName##, where ## is a unqiue index

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