M3TouchManager class

Manages multiple touch points and provides pinch/pan gesture detection.

Constructors

M3TouchManager()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
touches → Map<int, M3Touch>
final

Methods

clearAll() → void
clearInactive() → void
清除所有 inactive touches (已結束的手指)
getFingerDelta(int fingerCount) → Vector2
getPinch() → M3PinchInfo?
🔥 核心:取得 pinch(兩指捏合)資訊
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onTouchDown(int pointer, M3TouchPoint point) → M3Touch
返回剛創建或正在操作的 M3Touch
onTouchMove(int pointer, M3TouchPoint point) → M3Touch?
onTouchUp(int pointer, M3TouchPoint point) → M3Touch?
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited