Skip to main content

Class: OrbitControls3

Core-API.OrbitControls3

Hierarchy

  • OrbitControls

    OrbitControls3

Implements

Constructors

constructor

new OrbitControls3(object, domElement?)

Parameters

NameType
objectCamera<Event, string>
domElement?HTMLElement

Inherited from

OrbitControls.constructor

Defined in

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

Properties

uiConfig

Optional uiConfig: UiObjectConfig<void, "panel">

Implementation of

ICameraControls.uiConfig

Defined in

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


type

type: string = 'OrbitControls'

Defined in

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


enabled

enabled: boolean = true

Implementation of

ICameraControls.enabled

Overrides

OrbitControls.enabled

Defined in

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


dollyZoom

dollyZoom: boolean = false

Defined in

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


enableDamping

enableDamping: boolean = true

Overrides

OrbitControls.enableDamping

Defined in

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


dampingFactor

dampingFactor: number = 0.08

Overrides

OrbitControls.dampingFactor

Defined in

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


autoRotate

autoRotate: boolean = false

Implementation of

ICameraControls.autoRotate

Overrides

OrbitControls.autoRotate

Defined in

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


autoRotateSpeed

autoRotateSpeed: number = 2.0

Overrides

OrbitControls.autoRotateSpeed

Defined in

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


enableZoom

enableZoom: boolean = true

Overrides

OrbitControls.enableZoom

Defined in

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


zoomSpeed

zoomSpeed: number = 0.15

Overrides

OrbitControls.zoomSpeed

Defined in

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


maxZoomSpeed

maxZoomSpeed: number = 0.20

Defined in

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


enableRotate

enableRotate: boolean = true

Overrides

OrbitControls.enableRotate

Defined in

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


rotateSpeed

rotateSpeed: number = 2.0

Overrides

OrbitControls.rotateSpeed

Defined in

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


enablePan

enablePan: boolean = true

Overrides

OrbitControls.enablePan

Defined in

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


panSpeed

panSpeed: number = 1.0

Overrides

OrbitControls.panSpeed

Defined in

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


autoPushTarget

autoPushTarget: boolean = false

Defined in

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


autoPullTarget

autoPullTarget: boolean = false

Defined in

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


minDistance

minDistance: number = 0.35

Overrides

OrbitControls.minDistance

Defined in

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


maxDistance

maxDistance: number = 1000

Overrides

OrbitControls.maxDistance

Defined in

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


minZoom

minZoom: number = 0.01

Overrides

OrbitControls.minZoom

Defined in

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


maxZoom

maxZoom: number = 1000

Overrides

OrbitControls.maxZoom

Defined in

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


minPolarAngle

minPolarAngle: number = 0

Overrides

OrbitControls.minPolarAngle

Defined in

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


maxPolarAngle

maxPolarAngle: number = Math.PI

Overrides

OrbitControls.maxPolarAngle

Defined in

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


minAzimuthAngle

minAzimuthAngle: number = -10000

Overrides

OrbitControls.minAzimuthAngle

Defined in

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


maxAzimuthAngle

maxAzimuthAngle: number = 10000

Overrides

OrbitControls.maxAzimuthAngle

Defined in

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


clampMin

clampMin: Vector3

Defined in

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


clampMax

clampMax: Vector3

Defined in

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


screenSpacePanning

screenSpacePanning: boolean = true

Overrides

OrbitControls.screenSpacePanning

Defined in

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


keyPanSpeed

keyPanSpeed: number = 7.0

Overrides

OrbitControls.keyPanSpeed

Defined in

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


throttleUpdate

throttleUpdate: number = 60

Overrides

OrbitControls.throttleUpdate

Defined in

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

Methods

zoomIn

zoomIn(delta): void

Parameters

NameType
deltanumber

Returns

void

Overrides

OrbitControls.zoomIn

Defined in

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


zoomOut

zoomOut(delta): void

Parameters

NameType
deltanumber

Returns

void

Overrides

OrbitControls.zoomOut

Defined in

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


dispatchEvent

dispatchEvent(event): void

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:65