Last updated

API / geotoolkit3d / controller / TrackballController / TrackballController

Namespace: TrackballController

controller.TrackballController.TrackballController

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Options & Partial<OptionsBase>

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
dblclickspeednumberDouble click speed emulation (for touch devices) in ms Default is 250.
dynamicdampingfactornumberDynamic 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.
maxdistancenumberMaximum distance when zooming. Default is (positive) Infinity.
mindistancenumberMinimum distance when zooming. Default is 0.
nodblclickbooleanDisable lookAt redefinition using double click Default is false.
norollbooleanDisable camera rolling. Default is false.
norotatebooleanDisable rotation. Default is false.
panspeednumberPanning speed factor. Default is 0.001
rotatespeednumberRotation speed factor. Default is 1.
staticmovingbooleanStatic moving. If set to true, disable dynamic dampening, making controller moves more sharp. Default is false.

OptionsOut

Ƭ OptionsOut: OptionsOut & OptionsBase

The options returned by getOptions().