API / geotoolkit3d / controller / OrbitController / OrbitController
controller.OrbitController.OrbitController
Type Aliases
Type Aliases
Ƭ Options: Partial<OptionsBase> & Options
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 |
|---|---|---|
autorotate | boolean | Auto rotate camera around object. Default is false. |
autorotatespeed | number | The speed for auto rotating, in rotation per minute. Default is 2. |
constantzoom | boolean | If true, lock the zoom speed to be constant (linear). If false, zoom speed will adapt to zoom distance from focus point. Default is false. |
dblclickspeed | number | Double click speed emulation (for touch devices) in ms. Default is 250. |
maxazimuthangle | number | The maximum azimuth angle, to lock the camera azimuth rotation. Default is (positive) Infinity (not locked). |
maxdistance | number | Maximum distance when zooming. Default is (positive) Infinity. |
maxpolarangle | number | The maximum camera angle from the polar axis, in radian. Default is PI. |
minazimuthangle | number | The minimum azimuth angle, to lock the camera azimuth rotation. Default is -Infinity (not locked). |
mindistance | number | Minimum distance when zooming. Default is 0. |
minpolarangle | number | The minimum camera angle from the polar axis, in radian. Default is 0. |
nodblclick | boolean | Disable lookAt redefinition using double click. Default is false. |
norotate | boolean | Disable rotation. Default is false. |
rotatespeed | number | Rotation speed factor. Default is 1. |
Ƭ OptionsOut: OptionsBase & OptionsOut
The options returned by getOptions().