HandleDragAndDropArgs

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Information about a drag-and-drop operation in progress. See BaseVerticalCollectionView.dragAndDropUpdate and BaseVerticalCollectionView.handleDrop.

Properties

childIndex The child index under the parentId that the drag-and-drop operation targets. Used only for trees.
dragAndDropData Data stored for the drag-and-drop operation.
dropPosition The type of drop position.
insertAtIndex The index at which the drop operation wants to happen.
parentId The new parent targeted by the drag-and-drop operation. Used only for trees.
position The world position of the pointer.
target The target of the drop. There is only a target when hovering over an item. DropPosition.OverItem

Did you find this page useful? Please give it a rating: