UE::Modeling::GetNewAssetPathName

Utility functions that can be used to plug in the client-configurable parts of [UEditorModelingObjectsCreationAPI](API\Plugins\ModelingComponentsEditorOnly\UEditorModelingObjectsCreationAP-).

Choose your operating system:

Windows

macOS

Linux

References

Module

ModelingToolsEditorMode

Header

/Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingModeAssetUtils.h

Include

#include "ModelingModeAssetUtils.h"

Source

/Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Private/ModelingModeAssetUtils.cpp

Syntax

namespace UE
{
    namespace Modeling
    {
        FString UE::Modeling::GetNewAssetPathName
        (
            const FString & BaseName,
            const UWorld * TargetWorld,
            FString SuggestedFolder
        )
    }
}

Remarks

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

Returns

Path+Name for the new Asset (package)

Parameters

Parameter

Description

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