Skip to main content

Class: SerializableOrbitControls

Core-API.SerializableOrbitControls

Hierarchy

  • OrbitControls

    SerializableOrbitControls

Implements

Methods

Create

Static Create(object, container): SerializableOrbitControls

Parameters

NameType
objectCamera
containerundefined | HTMLElement

Returns

SerializableOrbitControls

Defined in

webgi/src/core/threejs/CameraController.ts:82


zoomIn

zoomIn(delta): void

Parameters

NameType
deltanumber

Returns

void

Defined in

webgi/src/core/threejs/CameraController.ts:73


zoomOut

zoomOut(delta): void

Parameters

NameType
deltanumber

Returns

void

Defined in

webgi/src/core/threejs/CameraController.ts:77


dispatchEvent

dispatchEvent(event): void

Fire an event type.

Parameters

NameType
eventObject
event.typeTOrbitControlsEvents
event.target?any

Returns

void

Implementation of

IEventDispatcher.dispatchEvent

Overrides

OrbitControls.dispatchEvent

Defined in

webgi/src/core/threejs/CameraController.ts:95

Constructors

constructor

new SerializableOrbitControls(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

type

type: string = 'OrbitControls'

Defined in

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


dollyZoom

dollyZoom: boolean = false

Defined in

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


enableDamping

enableDamping: boolean = true

Overrides

OrbitControls.enableDamping

Defined in

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


dampingFactor

dampingFactor: number = 0.08

Overrides

OrbitControls.dampingFactor

Defined in

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


autoRotate

autoRotate: boolean = false

Overrides

OrbitControls.autoRotate

Defined in

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


autoRotateSpeed

autoRotateSpeed: number = 2.0

Overrides

OrbitControls.autoRotateSpeed

Defined in

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


enableZoom

enableZoom: boolean = true

Overrides

OrbitControls.enableZoom

Defined in

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


zoomSpeed

zoomSpeed: number = 0.15

Overrides

OrbitControls.zoomSpeed

Defined in

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


maxZoomSpeed

maxZoomSpeed: number = 0.20

Defined in

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


enableRotate

enableRotate: boolean = true

Overrides

OrbitControls.enableRotate

Defined in

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


rotateSpeed

rotateSpeed: number = 2.0

Overrides

OrbitControls.rotateSpeed

Defined in

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


enablePan

enablePan: boolean = true

Overrides

OrbitControls.enablePan

Defined in

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


panSpeed

panSpeed: number = 1.0

Overrides

OrbitControls.panSpeed

Defined in

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


autoPushTarget

autoPushTarget: boolean = false

Defined in

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


minDistance

minDistance: number = 0.35

Overrides

OrbitControls.minDistance

Defined in

webgi/src/core/threejs/CameraController.ts:54


maxDistance

maxDistance: number = 1000

Overrides

OrbitControls.maxDistance

Defined in

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


minZoom

minZoom: number = 0.01

Overrides

OrbitControls.minZoom

Defined in

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


maxZoom

maxZoom: number = 1000

Overrides

OrbitControls.maxZoom

Defined in

webgi/src/core/threejs/CameraController.ts:58


minPolarAngle

minPolarAngle: number = 0

Overrides

OrbitControls.minPolarAngle

Defined in

webgi/src/core/threejs/CameraController.ts:60


maxPolarAngle

maxPolarAngle: number = Math.PI

Overrides

OrbitControls.maxPolarAngle

Defined in

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


minAzimuthAngle

minAzimuthAngle: number = -10000

Overrides

OrbitControls.minAzimuthAngle

Defined in

webgi/src/core/threejs/CameraController.ts:63


maxAzimuthAngle

maxAzimuthAngle: number = 10000

Overrides

OrbitControls.maxAzimuthAngle

Defined in

webgi/src/core/threejs/CameraController.ts:64


screenSpacePanning

screenSpacePanning: boolean = true

Overrides

OrbitControls.screenSpacePanning

Defined in

webgi/src/core/threejs/CameraController.ts:67


keyPanSpeed

keyPanSpeed: number = 7.0

Overrides

OrbitControls.keyPanSpeed

Defined in

webgi/src/core/threejs/CameraController.ts:69


uiConfig

Optional uiConfig: UiObjectConfig<any>

Implementation of

IUiConfigContainer.uiConfig

Defined in

webgi/src/core/threejs/CameraController.ts:71