Both sides previous revisionPrevious revisionNext revision | Previous revision |
gamedev:deigde:editors:widgetbeziercurve [2020/03/30 16:28] – [View Interaction] dragonlord | gamedev:deigde:editors:widgetbeziercurve [2020/03/30 23:51] (current) – dragonlord |
---|
The bezier curve editor supports these editing interaction using keyboard and mouse: | The bezier curve editor supports these editing interaction using keyboard and mouse: |
* <key>MOUSE_LEFT</key>: Select curve point or handle. Required for certain context menu functions to be enabled. | * <key>MOUSE_LEFT</key>: Select curve point or handle. Required for certain context menu functions to be enabled. |
* <key>MOUSE_LEFT</key> dragging: Move selected curve point or handle. If clamping is enabled and point is moved (not handle) movement is restricted to clamp range. Independent of clamping points can not be moved outside the curve sgement (hence not before the preceding curve point nor past the following curve point). Handles can not be dragged across the point (hence the left handle has to stay on the left side and the right handle has to stay on the right side). | * <key>MOUSE_LEFT</key> **dragging**: Move selected curve point or handle. If clamping is enabled and point is moved (not handle) movement is restricted to clamp range. Independent of clamping points can not be moved outside the curve sgement (hence not before the preceding curve point nor past the following curve point). Handles can not be dragged across the point (hence the left handle has to stay on the left side and the right handle has to stay on the right side). |
* <key>SHIFT+MOUSE_LEFT</key>: Add curve point. | * <key>SHIFT+MOUSE_LEFT</key>: Add curve point. |
* <key>SHIFT+MOUSE_LEFT</key> dragging: Add curve point and move it. | * <key>SHIFT+MOUSE_LEFT</key> **dragging**: Add curve point and move it. |
* <key>CTRL+SHIFT+MOUSE_LEFT</key>: Delete curve point clicked upon. | * <key>CTRL+SHIFT+MOUSE_LEFT</key>: Delete curve point clicked upon. |
* <key>MOUSE_RIGHT</key>: Show context menu | * <key>MOUSE_RIGHT</key>: Show context menu |
====== Context Menu ====== | ====== Context Menu ====== |
| |
{{:gamedev:deigde:editors:editor_curve_menu.png?nolink |Context menu}} | {{ :gamedev:deigde:editors:editor_curve_menu.png?nolink|Context menu}} |
| |
The context menu allows to edit the curve as well as setting some parameters. | The context menu allows to edit the curve as well as setting some parameters. |
| |
**Edit Selected Point** shows a dialog to edit the **point**, **first handle** and **second handle** of the selected curve point. | **Edit Selected Point** shows a dialog to edit the **point**, **first handle** and **second handle** of the selected curve point. |
| <WRAP clear/> |