#include <KnobMixIns.h>
Public Types | |
enum class | SnapOperation { GeoTo , PivotTo } |
Public Member Functions | |
SnapKnobs (const std::string &knobNamePrefix="") | |
void | knobs (Knob_Callback f) |
int | knob_changed (Knob *k, Op *op) |
void | enable (bool enable) |
A class which provides common UI for Snapping Geometry/Pivot point Create one of these and call the knobs method to make the knobs. The knob_changed function should be called as this ensures that the old snap menu is hidden on show panel (if it's present).
©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |