Class DndPointerSensor
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
dnd-kit's PointerSensor: a primary-button press starts the drag under Activation, or
under the scope's activation: when this is null. A draggable's own activation: wins over both.
public sealed class DndPointerSensor : DndSensor
- Inheritance
-
objectDndPointerSensor
Constructors
Properties
Methods
- TryActivate(EventBase, DndSensorActivation)
Decides whether
evtstarts this sensor's gesture on the draggableactivationnames. Return true to claim it; the drag itself starts when the sensor calls Start(Vector2, Action?), now or after a constraint of its own.