Properties
Private _isDebug
_isDebug: boolean = false
Private _isShiftDown
_isShiftDown: boolean = false
Private _outputEl
_outputEl: HTMLDivElement
Private _panDelta
_panDelta: { x: number; y: number } = ...
Private _panEnd
_panEnd: { x: number; y: number } = ...
Private _panStart
_panStart: { x: number; y: number } = ...
Private _paused
_paused: boolean = false
Private _roatteDelta
_roatteDelta: { x: number; y: number } = ...
Private _rotateEnd
_rotateEnd: { x: number; y: number } = ...
Private _rotateStart
_rotateStart: { 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 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