Navigation
API > API/Plugins > API/Plugins/ModelingToolsEditorMode
Description
Utility functions that can be used to plug in the client-configurable parts of UEditorModelingObjectsCreationAPI. See ModelingToolsEditorMode for usage. Determines path and name for a new Asset based on current mode settings, etc
| Name | UE::Modeling::GetNewAssetPathName |
| Type | function |
| Header File | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingModeAssetUtils.h |
| Include Path | #include "ModelingModeAssetUtils.h" |
| Source | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Private/ModelingModeAssetUtils.cpp |
namespace UE
{
namespace Modeling
{
FString UE::Modeling::GetNewAssetPathName
(
const FString & BaseName,
const UWorld * TargetWorld,
FString SuggestedFolder
)
}
}
Path+Name for the new Asset (package)
Parameters
| Name | Remarks |
|---|---|
| BaseName | desired initial string for the name |
| TargetWorld | World the new Asset will be used in, which can determine its generated path based on various settings |
| SuggestedFolder | a suggested path for the asset, ignored if empty |