SAssetView::CreateNewAsset

Creates a new asset item designed to allocate a new object once it is named.

Unreal Engine C++ API Reference > Editor > ContentBrowser > SAssetView

References

   
Module ContentBrowser
Header /Engine/Source/Editor/ContentBrowser/Public/SAssetView.h
Include #include "SAssetView.h"
Source /Engine/Source/Editor/ContentBrowser/Private/SAssetView.cpp
void CreateNewAsset
(
    const [FString](API\Runtime\Core\Containers\FString) & DefaultAssetName,
    const [FString](API\Runtime\Core\Containers\FString) & PackagePath,
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * AssetClass,
    [UFactory](API\Editor\UnrealEd\Factories\UFactory) * Factory
)

Remarks

Creates a new asset item designed to allocate a new object once it is named. Uses the supplied factory to create the asset


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library