Constructor DraggableState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
DraggableState(bool, DraggableInfo?, DroppableInfo?, Vector2?)
What Hooks.UseDraggable returns: dnd-kit's useDraggable state. Transform
is the translate the drag applies to this draggable, null unless it is the one being dragged.
public DraggableState(bool IsDragging, DraggableInfo? Active, DroppableInfo? Over, Vector2? Transform)
Parameters
IsDraggingboolActiveDraggableInfoOverDroppableInfoTransformVector2?