struct
FEditorNewAssetEntry
An entry in the New asset menu: the browser picks a unique file name in the folder, calls Create to write a valid new asset there, registers it, selects it and starts a rename.
- Module
- EditorFramework
- Header
#include "EditorFramework/EditorFeatureExtensions.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FCreateFn = bool (*)(const std::string& path) | Writes a new asset at the absolute path; false = nothing was written. |
Properties
| Type | Name | Description |
|---|---|---|
std::string | Id | Unique ("Sprites2D.NewSprite"). |
std::string | Label | |
std::string | Icon | |
std::string | DefaultName | The file name the browser proposes, without the extension ("NewSprite"). |
std::string | Extension | The extension the file gets, with the dot (".sprite"). |
FCreateFn | Create | Default nullptr. |
Generated from EditorFramework/EditorFeatureExtensions.h via editorframework.json · Dec 5, 2026Version 1.1.0