Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CameraController

Index

Constructors

constructor

Properties

Private _isDebug

_isDebug: boolean = false

Private _isShiftDown

_isShiftDown: boolean = false

Private _outputEl

_outputEl: HTMLDivElement

Private _panDelta

_panDelta: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _panEnd

_panEnd: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _panStart

_panStart: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _paused

_paused: boolean = false

Private _roatteDelta

_roatteDelta: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _rotateEnd

_rotateEnd: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _rotateStart

_rotateStart: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

Private _spherical

_spherical: { phi: number; radius: number; theta: number }

Type declaration

  • phi: number
  • radius: number
  • theta: number

Private _zoomDistance

_zoomDistance: number = 0

Private _zoomDistanceEnd

_zoomDistanceEnd: number = 0

Private camera

Private dampingFactor

dampingFactor: number

Private domElement

domElement: HTMLElement

Private enableKeys

enableKeys: boolean

Private isDamping

isDamping: boolean

Private isEnabled

isEnabled: boolean = true

Private isPan

isPan: boolean

Private isRotate

isRotate: boolean

Private isZoom

isZoom: boolean

Private keyPanSpeed

keyPanSpeed: number

Private keys

keys: { BOTTOM: string; LEFT: string; RIGHT: string; SHIFT: string; UP: string }

Type declaration

  • BOTTOM: string
  • LEFT: string
  • RIGHT: string
  • SHIFT: string
  • UP: string

Private loopId

loopId: number = 0

Private maxDistance

maxDistance: number = ...

Private minDistance

minDistance: number = 0

Private mouseWheelForce

mouseWheelForce: number = 1

Private originPosition

originPosition: vec3

Private originTarget

originTarget: vec3

Private rotateSpeed

rotateSpeed: number

Private state

state: string = ''

Private target

target: vec3 = ...

Private targetPhiDampedAction

targetPhiDampedAction: DampedAction = ...

Private targetRadiusDampedAction

targetRadiusDampedAction: DampedAction = ...

Private targetThetaDampedAction

targetThetaDampedAction: DampedAction = ...

Private targetXDampedAction

targetXDampedAction: DampedAction = ...

Private targetYDampedAction

targetYDampedAction: DampedAction = ...

Private targetZDampedAction

targetZDampedAction: DampedAction = ...

Private zoomSpeed

zoomSpeed: number

Methods

_bindEvens

  • _bindEvens(): void

_contextMenuHandler

  • _contextMenuHandler(event: MouseEvent): void

_mouseDownHandler

  • _mouseDownHandler(event: MouseEvent): void

_mouseMoveHandler

  • _mouseMoveHandler(event: MouseEvent): void

_mouseUpHandler

  • _mouseUpHandler(): void

_mouseWheelHandler

  • _mouseWheelHandler(event: WheelEvent): void

_onKeyDownHandler

  • _onKeyDownHandler(event: KeyboardEvent): void

_onKeyUpHandler

  • _onKeyUpHandler(event: KeyboardEvent): void

_touchMoveHandler

  • _touchMoveHandler(event: TouchEvent): void

_touchStartHandler

  • _touchStartHandler(event: TouchEvent): void

_updatePanHandler

  • _updatePanHandler(): void

_updateRotateHandler

  • _updateRotateHandler(): void

lookAt

pause

  • pause(): void

removeEventHandler

  • removeEventHandler(): void

setEventHandler

  • setEventHandler(): void

start

  • start(): void

startTick

  • startTick(): void

tick

  • tick(): void

updateCamera

  • updateCamera(): void

updateDampedAction

  • updateDampedAction(): void

Generated using TypeDoc