Class DndSensorSession
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
The drag a sensor started, which the sensor drives until it ends.
public sealed class DndSensorSession
- Inheritance
-
objectDndSensorSession
Properties
- CollisionRect
The active rect collision detection reads, panel space: the source's rect at the start moved by the drag's translate.
- IsActive
False once the drag has ended, been cancelled or been torn down.
Methods
- Cancel()
Cancels the drag, firing
onDragCancel.
- End()
Drops the drag where it is, firing
onDragEnd.
- Move(Vector2)
Moves the drag to
coordinates, panel space.