Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HiFiControls

Hierarchy

  • HiFiControls

Index

Constructors

constructor

  • new HiFiControls(__namedParameters: { mainAppElement: any }): HiFiControls
  • Parameters

    • __namedParameters: { mainAppElement: any }
      • mainAppElement: any

    Returns HiFiControls

Properties

Private _keyboardEventCache

_keyboardEventCache: any[]

Private _lastAngleBetweenTouchPoints

_lastAngleBetweenTouchPoints: any

Private _lastDistanceBetweenLeftClickEvents

_lastDistanceBetweenLeftClickEvents: any

Private _lastDistanceBetweenRightClickEvents

_lastDistanceBetweenRightClickEvents: any

Private _lastDistanceBetweenTouchPoints

_lastDistanceBetweenTouchPoints: any

Private _lastLeftDragPosition

_lastLeftDragPosition: any

Private _lastRightDragPosition

_lastRightDragPosition: any

Private _leftClickStartPositionPX

_leftClickStartPositionPX: any

Private _mouseEventCache

_mouseEventCache: any[]

Private _rightClickStartPositionPX

_rightClickStartPositionPX: any

onCanvasDown

onCanvasDown: Function

onCanvasMove

onCanvasMove: Function

onClick

onClick: Function

onLeftDrag

onLeftDrag: Function

onMoveBackwardKeyDown

onMoveBackwardKeyDown: Function

onMoveBackwardKeyUp

onMoveBackwardKeyUp: Function

onMoveForwardKeyDown

onMoveForwardKeyDown: Function

onMoveForwardKeyUp

onMoveForwardKeyUp: Function

onPinch

onPinch: Function

onRightDrag

onRightDrag: Function

onRotate

onRotate: Function

onStrafeLeftKeyDown

onStrafeLeftKeyDown: Function

onStrafeLeftKeyUp

onStrafeLeftKeyUp: Function

onStrafeRightKeyDown

onStrafeRightKeyDown: Function

onStrafeRightKeyUp

onStrafeRightKeyUp: Function

onTurnLeftKeyDown

onTurnLeftKeyDown: Function

onTurnLeftKeyUp

onTurnLeftKeyUp: Function

onTurnRightKeyDown

onTurnRightKeyDown: Function

onTurnRightKeyUp

onTurnRightKeyUp: Function

onWheel

onWheel: Function

Methods

Private _getEventFromCacheByID

  • _getEventFromCacheByID(idToFind: any): any
  • Parameters

    • idToFind: any

    Returns any

Private _getGesturePointFromEvent

  • _getGesturePointFromEvent(evt: any): { x: number; y: number }
  • Parameters

    • evt: any

    Returns { x: number; y: number }

    • x: number
    • y: number

Private _handleEvent

  • _handleEvent(event: any): void
  • Parameters

    • event: any

    Returns void

Private _handleGestureOnCanvasCancel

  • _handleGestureOnCanvasCancel(event: any): void
  • Parameters

    • event: any

    Returns void

Private _handleGestureOnCanvasEnd

  • _handleGestureOnCanvasEnd(event: any): void
  • Parameters

    • event: any

    Returns void

Private _handleGestureOnCanvasMove

  • _handleGestureOnCanvasMove(event: any): void
  • Parameters

    • event: any

    Returns void

Private _handleGestureOnCanvasStart

  • _handleGestureOnCanvasStart(event: any): void
  • Parameters

    • event: any

    Returns void

Private _handleMouseWheel

  • _handleMouseWheel(event: any): void
  • Parameters

    • event: any

    Returns void

Private _onUserKeyDown

  • _onUserKeyDown(event: any): void
  • Parameters

    • event: any

    Returns void

Private _onUserKeyUp

  • _onUserKeyUp(event: any): void
  • Parameters

    • event: any

    Returns void

Private _pushEvent

  • _pushEvent(event: any): void
  • Parameters

    • event: any

    Returns void

Private _removeEvent

  • _removeEvent(event: any): void
  • Parameters

    • event: any

    Returns void