Class BaseFieldMouseDragger
Provides the base class for field mouse draggers.
Namespace: UnityEditor.UIElements
Syntax
public abstract class BaseFieldMouseDragger : object
Methods
SetDragZone(VisualElement)
Sets the drag zone for the driven field.
Declaration
public void SetDragZone(VisualElement dragElement)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | dragElement | The target of the drag operation. |
SetDragZone(VisualElement, Rect)
Sets the drag zone for the driven field.
Declaration
public abstract void SetDragZone(VisualElement dragElement, Rect hotZone)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | dragElement | The target of the drag operation. |
Rect | hotZone | The rectangle that contains the drag zone. |