Class VFXFieldMouseDragger<T>
Inheritance
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 |
|
Action |
onDragFinished |
|
Fields
dragging
Declaration
Field Value
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 |
|