Skip to main content

Class: OrbitControls3

Core-API.OrbitControls3

Hierarchy

  • OrbitControls

    OrbitControls3

Implements

Constructors

constructor

new OrbitControls3(object, domElement?)

Parameters

NameType
objectCamera
domElement?HTMLElement

Inherited from

OrbitControls.constructor

Defined in

webgi/node_modules/@types/three/examples/jsm/controls/OrbitControls.d.ts:4

Properties

uiConfig

Optional uiConfig: UiObjectConfig<void, "panel">

Implementation of

ICameraControls.uiConfig

Defined in

webgi/src/core/threejs/OrbitControls3.ts:9


type

type: string = 'OrbitControls'

Defined in

webgi/src/core/threejs/OrbitControls3.ts:11


enabled

enabled: boolean = true

Implementation of

ICameraControls.enabled

Overrides

OrbitControls.enabled

Defined in

webgi/src/core/threejs/OrbitControls3.ts:13


dollyZoom

dollyZoom: boolean = false

Defined in

webgi/src/core/threejs/OrbitControls3.ts:15


enableDamping

enableDamping: boolean = true

Overrides

OrbitControls.enableDamping

Defined in

webgi/src/core/threejs/OrbitControls3.ts:16


dampingFactor

dampingFactor: number = 0.08

Overrides

OrbitControls.dampingFactor

Defined in

webgi/src/core/threejs/OrbitControls3.ts:17


autoRotate

autoRotate: boolean = false

Implementation of

ICameraControls.autoRotate

Overrides

OrbitControls.autoRotate

Defined in

webgi/src/core/threejs/OrbitControls3.ts:19


autoRotateSpeed

autoRotateSpeed: number = 2.0

Overrides

OrbitControls.autoRotateSpeed

Defined in

webgi/src/core/threejs/OrbitControls3.ts:20


enableZoom

enableZoom: boolean = true

Overrides

OrbitControls.enableZoom

Defined in

webgi/src/core/threejs/OrbitControls3.ts:22


zoomSpeed

zoomSpeed: number = 0.15

Overrides

OrbitControls.zoomSpeed

Defined in

webgi/src/core/threejs/OrbitControls3.ts:23


maxZoomSpeed

maxZoomSpeed: number = 0.20

Defined in

webgi/src/core/threejs/OrbitControls3.ts:24


enableRotate

enableRotate: boolean = true

Overrides

OrbitControls.enableRotate

Defined in

webgi/src/core/threejs/OrbitControls3.ts:26


rotateSpeed

rotateSpeed: number = 2.0

Overrides

OrbitControls.rotateSpeed

Defined in

webgi/src/core/threejs/OrbitControls3.ts:27


enablePan

enablePan: boolean = true

Overrides

OrbitControls.enablePan

Defined in

webgi/src/core/threejs/OrbitControls3.ts:29


panSpeed

panSpeed: number = 1.0

Overrides

OrbitControls.panSpeed

Defined in

webgi/src/core/threejs/OrbitControls3.ts:30


autoPushTarget

autoPushTarget: boolean = false

Defined in

webgi/src/core/threejs/OrbitControls3.ts:32


minDistance

minDistance: number = 0.35

Overrides

OrbitControls.minDistance

Defined in

webgi/src/core/threejs/OrbitControls3.ts:33


maxDistance

maxDistance: number = 1000

Overrides

OrbitControls.maxDistance

Defined in

webgi/src/core/threejs/OrbitControls3.ts:34


minZoom

minZoom: number = 0.01

Overrides

OrbitControls.minZoom

Defined in

webgi/src/core/threejs/OrbitControls3.ts:36


maxZoom

maxZoom: number = 1000

Overrides

OrbitControls.maxZoom

Defined in

webgi/src/core/threejs/OrbitControls3.ts:37


minPolarAngle

minPolarAngle: number = 0

Overrides

OrbitControls.minPolarAngle

Defined in

webgi/src/core/threejs/OrbitControls3.ts:39


maxPolarAngle

maxPolarAngle: number = Math.PI

Overrides

OrbitControls.maxPolarAngle

Defined in

webgi/src/core/threejs/OrbitControls3.ts:40


minAzimuthAngle

minAzimuthAngle: number = -10000

Overrides

OrbitControls.minAzimuthAngle

Defined in

webgi/src/core/threejs/OrbitControls3.ts:42


maxAzimuthAngle

maxAzimuthAngle: number = 10000

Overrides

OrbitControls.maxAzimuthAngle

Defined in

webgi/src/core/threejs/OrbitControls3.ts:43


screenSpacePanning

screenSpacePanning: boolean = true

Overrides

OrbitControls.screenSpacePanning

Defined in

webgi/src/core/threejs/OrbitControls3.ts:46


keyPanSpeed

keyPanSpeed: number = 7.0

Overrides

OrbitControls.keyPanSpeed

Defined in

webgi/src/core/threejs/OrbitControls3.ts:48

Methods

zoomIn

zoomIn(delta): void

Parameters

NameType
deltanumber

Returns

void

Defined in

webgi/src/core/threejs/OrbitControls3.ts:50


zoomOut

zoomOut(delta): void

Parameters

NameType
deltanumber

Returns

void

Defined in

webgi/src/core/threejs/OrbitControls3.ts:55


dispatchEvent

dispatchEvent(event): void

Fire an event type.

Parameters

NameType
eventObject
event.typeTOrbitControlsEvents
event.target?any

Returns

void

Implementation of

ICameraControls.dispatchEvent

Overrides

OrbitControls.dispatchEvent

Defined in

webgi/src/core/threejs/OrbitControls3.ts:61