Registry for adding custom options and submenu items to the Asset Browser's right-click context menu.
More...
#include <AssetBrowserRegistry.hpp>
Registry for adding custom options and submenu items to the Asset Browser's right-click context menu.
◆ ContextMenuCallback
◆ getOptions()
| std::vector< Option > & Engine::AssetBrowserRegistry::getOptions |
( |
| ) |
|
|
inlinestatic |
Retrieves all registered custom menu options.
◆ registerOption()
| void Engine::AssetBrowserRegistry::registerOption |
( |
const std::string & | labelPath, |
|
|
ContextMenuCallback | callback ) |
|
inlinestatic |
Registers a custom context menu item.
- Parameters
-
| labelPath | Menu hierarchy path (e.g. "Create/Script" or "Actions/Validate"). |
| callback | Function called when the menu item is selected, receiving the folder path. |
The documentation for this class was generated from the following file: