onMouseMove method
dynamic
onMouseMove(
- dynamic event
Implementation
onMouseMove(event) {
if (scope.enabled == false) return;
switch (state) {
case STATE.ROTATE:
if (scope.enableRotate == false) return;
handleMouseMoveRotate(event);
break;
case STATE.DOLLY:
if (scope.enableZoom == false) return;
handleMouseMoveDolly(event);
break;
case STATE.PAN:
if (scope.enablePan == false) return;
handleMouseMovePan(event);
break;
}
}