NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import TrackballControls from 'ngl/src/controls/trackball-controls.js'
public class | source

TrackballControls

Trackball controls

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public get
public
public
public
public
public
public
public

Method Summary

Public Methods
public

pan()

public
public
public

rotate()

public
public

zoom()

Private Methods
private
private
private

Public Constructors

public constructor() source

Public Members

public get atom source

public get component source

public controls source

public mouse source

public panSpeed source

public rotateSpeed source

public stage source

public viewer source

public zoomSpeed source

Public Methods

public pan() source

public panAtom() source

public panComponent() source

public rotate() source

public rotateComponent() source

public zoom() source

Private Methods

private _getRotateXY() source

private _setPanVector() source

private _transformPanVector() source