MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / onPointerDown

Function onPointerDown

public/iframe/lib/js/TrackballControls.js:398–413  ·  view source on GitHub ↗
( event )

Source from the content-addressed store, hash-verified

396 // listeners
397
398 function onPointerDown( event ) {
399
400 if ( scope.enabled === false ) return;
401
402 switch ( event.pointerType ) {
403
404 case 'mouse':
405 case 'pen':
406 onMouseDown( event );
407 break;
408
409 // TODO touch
410
411 }
412
413 }
414
415 function onPointerMove( event ) {
416

Callers

nothing calls this directly

Calls 1

onMouseDownFunction · 0.85

Tested by

no test coverage detected