UE::Modeling::OnNewAssetCreated

Utility function that may auto-save a newly created asset depending on current mode settings, and posts notifications for the Editor

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
    {
        void UE::Modeling::OnNewAssetCreated
        (
            UObject * Asset
        )
    }
}

Remarks

Utility function that may auto-save a newly created asset depending on current mode settings, and posts notifications for the Editor

Parameters

Parameter

Description

Asset

the new asset object (eg UStaticMesh, UTexture2D, etc)