SelectionDropper
Selection drag&drop manipulator.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
- Inherits from: Manipulator
- Implements: IManipulator
public class SelectionDropper : Manipulator, IManipulator
Constructors
Constructor | Description |
|---|---|
| SelectionDropper() | SelectionDropper's constructor. |
Properties
Property | Description |
|---|---|
| activateButton | Mouse button used to activate the manipulator. |
| clampToParentEdges | Clamp element being dragged to the parent's (usually the graph) edges. |
| panSpeed | When elements are dragged near the edges of the Graph, panning occurs. This controls the speed for said panning. |
Methods
Method | Description |
|---|---|
| OnMouseDown | Called on mouse down event. |
| OnMouseMove | Called on mouse move event. |
| OnMouseUp | Called on mouse up event. |
| RegisterCallbacksOnTarget | Called to register click event callbacks on the target element. |
| UnregisterCallbacksFromTarget | Called to unregister event callbacks from the target element. |