Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrackballControls

Trackball controls

Hierarchy

  • TrackballControls

Index

Constructors

constructor

Properties

controls

controls: ViewerControls

mouse

panSpeed

panSpeed: number

rotateSpeed

rotateSpeed: number

stage

stage: Stage

viewer

viewer: Viewer

zoomSpeed

zoomSpeed: number

Accessors

atom

component

Methods

Private _getRotateXY

  • _getRotateXY(x: number, y: number): number[]

Private _setPanVector

  • _setPanVector(x: number, y: number, z?: number): 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

Generated using TypeDoc