Enum GesturePhase
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
Where a camera change falls in a gesture that the user makes.
public enum GesturePhase : uint
Fields
Begin = 1The gesture starts. This cancels every running camera animation before the change applies.
Cancel = 4The platform cancelled the gesture. This also cancels every running camera animation after the change applies.
End = 3None = 0The change isn't part of a gesture.
Update = 2The gesture continues. To start a gesture that keeps the running camera animations, start it with this phase instead of
GesturePhase.Begin.
Remarks
GesturePhase.Begin and GesturePhase.Update mark a
gesture in progress, and GesturePhase.End and
GesturePhase.Cancel end it.
See mln_gesture_phase in the C API reference.