C/C++ SDK / C ABI / Viewport (editor, 2.1; capability viewport-tools)
Viewport (editor, 2.1; capability viewport-tools)
Constants and types of this part of kroys/kroys_plugin.h.
Headerkroys/kroys_plugin.h
SDK2.2.0
01
Structs and enums
KroysViewportToolDescA viewport tool (viewport->RegisterTool): a button on the viewport's plugin toolbar.KroysViewportInputMouse state over the viewport, passed to the active tool's OnInput.KroysViewportToolCallbacksThe hooks of a viewport tool (main thread).KroysCameraInfoThe editor viewport camera (viewport->GetCamera).KroysViewportApiViewport tools, the viewport camera and 3D drawing (capability viewport-tools).
REFERENCE
Constants and types
Constants
##define KROYS_MOUSE_LEFT 1uNot documented yet.
##define KROYS_MOUSE_RIGHT 2uNot documented yet.
##define KROYS_MOUSE_MIDDLE 4uNot documented yet.
##define KROYS_MODIFIER_CTRL 1uNot documented yet.
##define KROYS_MODIFIER_SHIFT 2uNot documented yet.
##define KROYS_MODIFIER_ALT 4uNot documented yet.
kroys_plugin.h
#define KROYS_MOUSE_LEFT 1u #define KROYS_MOUSE_RIGHT 2u #define KROYS_MOUSE_MIDDLE 4u #define KROYS_MODIFIER_CTRL 1u #define KROYS_MODIFIER_SHIFT 2u #define KROYS_MODIFIER_ALT 4u
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.