C/C++ SDK / C++ layer · Registration options / kroys::CommandOptions
kroys::CommandOptions
Options of Host::AddCommand (KroysCommandDesc).
Kindstruct
Headerkroys/plugin.hpp
Members9
DECLARATION
Declaration
Declared in kroys/plugin.hpp.
plugin.hpp
struct CommandOptions
REFERENCE
Members
Fields
#std::string id;local id; editor command id is "<plugin id>.<id>"
#std::string label;Menu and palette label; null: id.
#std::string description;Command palette description.
#std::string keywords;Extra command palette search words.
#std::string category;palette group; null: plugin name
#std::string icon;Lucide icon name
#std::string shortcut;"Ctrl+Shift+H" (Scene context); null: none
#bool toolbar = false;nonzero: also a button on the plugin toolbar strip
Signatures
std::string id; std::string label; std::string description; std::string keywords; std::string category; std::string menu; std::string icon; std::string shortcut; bool toolbar = false;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.