struct
FEditorAssetAction
An action on an asset-browser asset, shown in its right-click menu.
- Module
- EditorFramework
- Header
#include "EditorFramework/EditorFeatureExtensions.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FExecuteFn = void (*)(const std::string& assetPath) | assetPath is the absolute path of the asset the menu was opened on. |
using FCanExecuteFn = bool (*)(const std::string& assetPath) |
Properties
| Type | Name | Description |
|---|---|---|
std::string | Id | Unique ("Sprites2D.Slice"). |
std::string | Label | |
std::string | Icon | |
std::vector<std::string> | Extensions | Lower-case extensions with the dot (".sprite") this applies to; empty = every asset. Match with FFileTypes where the type is an engine one. |
FExecuteFn | Execute | Default nullptr. |
FCanExecuteFn | CanExecute | Default nullptr. |
Generated from EditorFramework/EditorFeatureExtensions.h via editorframework.json · Dec 5, 2026Version 1.1.0