C/C++ SDK / C ABI · Viewport (editor, 2.1; capability viewport-tools) / KroysViewportToolDesc
KroysViewportToolDesc
A viewport tool (viewport->RegisterTool): a button on the viewport's plugin toolbar.
Kindstruct
Headerkroys/kroys_plugin.h
Members6
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysViewportToolDesc { ... } KroysViewportToolDesc;
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 alwaysDraw;draw also while another tool is active
#const char* id;Local id; the tool id is "<plugin id>.<id>".
#const char* label;Toolbar label.
#const char* icon;Lucide icon name.
#const char* tooltip;Toolbar tooltip.
Members
uint32_t structSize; int32_t alwaysDraw; const char* id; const char* label; const char* icon; const char* tooltip;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.