Table of Contents

Constructor DragEndArgs

Namespace
Velvet
Assembly
Velvet.Docs.dll

DragEndArgs(DraggableInfo, DroppableInfo?, Vector2, Vector2, IReadOnlyList<DndCollision>)

Fired on release. Over is null when dropped on nothing; state written here flushes synchronously, like any discrete input handler. Collisions is the strategy's full ranking at the last pointer move, empty when the drag ended before one.

public DragEndArgs(DraggableInfo Active, DroppableInfo? Over, Vector2 Delta, Vector2 Position, IReadOnlyList<DndCollision> Collisions)

Parameters

Active DraggableInfo
Over DroppableInfo
Delta Vector2
Position Vector2
Collisions IReadOnlyList<DndCollision>