Properties
panSpeed
panSpeed: number
rotateSpeed
rotateSpeed: number
zoomSpeed
zoomSpeed: number
Methods
Private _getCameraRotation
- _getCameraRotation(m: Matrix4): Matrix4
-
Parameters
Returns Matrix4
Private _getRotateXY
- _getRotateXY(x: number, y: number): number[]
-
Parameters
Returns number[]
Private _setPanVector
- _setPanVector(x: number, y: number, z?: number): void
-
Parameters
-
x: number
-
y: number
-
Default value z: number = 0
Returns void
Private _transformPanVector
- _transformPanVector(): void
pan
- pan(x: number, y: number): void
panAtom
- panAtom(x: number, y: number): void
panComponent
- panComponent(x: number, y: number): void
rotate
- rotate(x: number, y: number): void
rotateComponent
- rotateComponent(x: number, y: number): void
zRotate
- zRotate(x: number, y: number): void
zoom
- zoom(delta: number): void
Trackball controls