Nuke binary plugins 16.0.1
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
DD::Image::SnapKnobs Class Reference

#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)
 

Detailed Description

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.
www.foundry.com