enum.js 558 B

12345678910111213141516171819202122
  1. let MouseButton = {
  2. LEFT: 0,
  3. MIDDLE: 1,
  4. RIGHT: 2
  5. }
  6. let ControlEvents = {
  7. Move: 'move',
  8. InteractionDirect: 'interaction.direct',
  9. InteractionKey: 'interaction.key',
  10. InteractionGui: 'interaction.gui',
  11. FlyInDirection: 'fly.direction',
  12. InputStart: 'input.start',
  13. Pinch: 'input.pinch',
  14. Scroll: 'input.scroll',
  15. AutoPanInterrupt: 'autopan.interrupt',
  16. AutoPanComplete: 'autopan.complete',
  17. AutoPanClamped: 'autopan.clamped',
  18. LongTap: 'longtap'
  19. }
  20. export { MouseButton, ControlEvents }