Last updated

API / geotoolkit3d / controller / OrbitController / OrbitController

Namespace: OrbitController

controller.OrbitController.OrbitController

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Partial<OptionsBase> & Options

The options that can be set using the constructor, or using setOptions(options)


OptionsBase

Ƭ OptionsBase: Object

The options specific to this file (this class excluding its parent classes)

Type declaration

NameTypeDescription
autorotatebooleanAuto rotate camera around object. Default is false.
autorotatespeednumberThe speed for auto rotating, in rotation per minute. Default is 2.
constantzoombooleanIf true, lock the zoom speed to be constant (linear). If false, zoom speed will adapt to zoom distance from focus point. Default is false.
dblclickspeednumberDouble click speed emulation (for touch devices) in ms. Default is 250.
maxazimuthanglenumberThe maximum azimuth angle, to lock the camera azimuth rotation. Default is (positive) Infinity (not locked).
maxdistancenumberMaximum distance when zooming. Default is (positive) Infinity.
maxpolaranglenumberThe maximum camera angle from the polar axis, in radian. Default is PI.
minazimuthanglenumberThe minimum azimuth angle, to lock the camera azimuth rotation. Default is -Infinity (not locked).
mindistancenumberMinimum distance when zooming. Default is 0.
minpolaranglenumberThe minimum camera angle from the polar axis, in radian. Default is 0.
nodblclickbooleanDisable lookAt redefinition using double click. Default is false.
norotatebooleanDisable rotation. Default is false.
rotatespeednumberRotation speed factor. Default is 1.

OptionsOut

Ƭ OptionsOut: OptionsBase & OptionsOut

The options returned by getOptions().