Table of Contents

Field RectIntersection

Namespace
Velvet
Assembly
Velvet.Docs.dll

Droppables overlapping the active rect, ranked by intersection ratio — intersection / (droppable + active - intersection), rounded to four decimals — greatest first. Rects that only touch at an edge or corner do not collide. Equal ratios keep registration order.

public static readonly DndCollisionDetection RectIntersection

Returns

DndCollisionDetection
Droppables overlapping the active rect, ranked by intersection ratio — intersection / (droppable + active - intersection), rounded to four decimals — greatest first. Rects that only touch at an edge or corner do not collide. Equal ratios keep registration order.