API / geotoolkit3d / controller / TrackballController / TrackballController
controller.TrackballController.TrackballController
Type Aliases
Type Aliases
Ƭ Options: Options & Partial<OptionsBase>
The options that can be set using the constructor, or using setOptions(options)
Ƭ OptionsBase: Object
The options specific to this file (this class excluding its parent classes)
| Name | Type | Description |
|---|---|---|
dblclickspeed | number | Double click speed emulation (for touch devices) in ms Default is 250. |
dynamicdampingfactor | number | Dynamic damping factor applied when moving the controller. A higher value will smooth more the controls, while a smaller value will make controls more sharp. Default is 0.2, suggested values are between 0.1 and 0.9. |
maxdistance | number | Maximum distance when zooming. Default is (positive) Infinity. |
mindistance | number | Minimum distance when zooming. Default is 0. |
nodblclick | boolean | Disable lookAt redefinition using double click Default is false. |
noroll | boolean | Disable camera rolling. Default is false. |
norotate | boolean | Disable rotation. Default is false. |
panspeed | number | Panning speed factor. Default is 0.001 |
rotatespeed | number | Rotation speed factor. Default is 1. |
staticmoving | boolean | Static moving. If set to true, disable dynamic dampening, making controller moves more sharp. Default is false. |
Ƭ OptionsOut: OptionsOut & OptionsBase
The options returned by getOptions().