GesturePhase class final
Where a camera change falls in a gesture that the user makes.
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.
Constructors
- GesturePhase.fromRawValue(int rawValue)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- begin → const GesturePhase
- The gesture starts. This cancels every running camera animation before the change applies.
- cancel → const GesturePhase
- The platform cancelled the gesture. This also cancels every running camera animation after the change applies.
- end → const GesturePhase
- none → const GesturePhase
- The change isn't part of a gesture.
- update → const GesturePhase
-
The gesture continues. To start a gesture that keeps the running camera
animations, start it with this phase instead of
GesturePhase.begin.