Class VFXFieldMouseDragger<T>
Inheritance
System.Object
VFXFieldMouseDragger<T>
Syntax
public class VFXFieldMouseDragger<T>
Type Parameters
Constructors
VFXFieldMouseDragger(IValueField<T>, Action)
Declaration
public VFXFieldMouseDragger(IValueField<T> drivenField, Action onDragFinished = null)
Parameters
Type |
Name |
Description |
IValueField<T> |
drivenField |
|
System.Action |
onDragFinished |
|
Fields
dragging
Declaration
Field Value
Type |
Description |
System.Boolean |
|
startValue
Declaration
Field Value
Methods
SetDragZone(VisualElement)
Declaration
public void SetDragZone(VisualElement dragElement)
Parameters
Type |
Name |
Description |
VisualElement |
dragElement |
|
SetDragZone(VisualElement, Rect)
Declaration
public void SetDragZone(VisualElement dragElement, Rect hotZone)
Parameters
Type |
Name |
Description |
VisualElement |
dragElement |
|
Rect |
hotZone |
|