C/C++ SDK / C ABI · Editor / KroysCommandDesc
KroysCommandDesc
A command (editor->RegisterCommand): command palette, Tools > Plugins menu, optional toolbar button and shortcut.
Kindstruct
Headerkroys/kroys_plugin.h
Members10
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysCommandDesc { ... } KroysCommandDesc;
REFERENCE
Members
Fields
#uint32_t structSize;Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.
#int32_t toolbar;nonzero: also a button on the plugin toolbar strip
#const char* id;local id; editor command id is "<plugin id>.<id>"
#const char* label;Menu and palette label; null: id.
#const char* category;palette group; null: plugin name
#const char* description;Command palette description.
#const char* keywords;Extra command palette search words.
#const char* icon;Lucide icon name
#const char* shortcut;"Ctrl+Shift+H" (Scene context); null: none
Members
uint32_t structSize; int32_t toolbar; const char* id; const char* label; const char* category; const char* description; const char* keywords; const char* menu; const char* icon; const char* shortcut;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.