trackPointer method
dynamic
trackPointer(
- dynamic event
Implementation
trackPointer(event) {
var position = _pointerPositions[event.pointerId];
if (position == null) {
position = new Vector2();
_pointerPositions[event.pointerId] = position;
}
position.set(event.pageX, event.pageY);
}