In my plugin, there would be several curves created initially. Those curves are really close to the faces of a mesh object.
For some reason, these curves need to be edited by user in my plugin. So I would like to do custom curve snapping function(curves snap to mesh) during user editing those curves.
- In this picture, once I do MouseDown on a point on curve, this message shows, 1 curve edit point added to selection.
- If I start to drag the point, this message shows as command prompt, Drag objects, tap Alt to make a duplicate, press and hold Alt to temporarily toggle osnaps.
- Once I release the point, the message, Drag objects, tap Alt to make a duplicate, press and hold Alt to temporarily toggle osnaps, shows as history message.
Here is my question:
Those 3 actions above seem to be triggered by mouse event, could you tell me where can I find it in C++ SDK? and how to use it to reach my goal?
Thank you so much!