Skip to main content

Class: TrackballControlsPlugin

Plugins.TrackballControlsPlugin

Hierarchy

Properties

PluginType

Static Readonly PluginType: "TrackballControlsPlugin"

Defined in

webgi/src/plugins/TrackballControlsPlugin.ts:6


enabled

Readonly enabled: true

Inherited from

ACameraControlsPlugin.enabled

Defined in

webgi/src/plugins/ACameraControlsPlugin.ts:6


toJSON

toJSON: any = undefined

Inherited from

ACameraControlsPlugin.toJSON

Defined in

webgi/src/plugins/ACameraControlsPlugin.ts:7


controlsKey

Readonly controlsKey: "trackball"

Overrides

ACameraControlsPlugin.controlsKey

Defined in

webgi/src/plugins/TrackballControlsPlugin.ts:7


_dirty

Protected _dirty: boolean = false

Inherited from

ACameraControlsPlugin._dirty

Defined in

webgi/src/core/AViewerPlugin.ts:23


_viewer

Protected Optional _viewer: ViewerApp

Inherited from

ACameraControlsPlugin._viewer

Defined in

webgi/src/core/AViewerPlugin.ts:27


_controlsCtor

Protected _controlsCtor: TControlsCtor

Overrides

ACameraControlsPlugin._controlsCtor

Defined in

webgi/src/plugins/TrackballControlsPlugin.ts:9

Constructors

constructor

new TrackballControlsPlugin()

Inherited from

ACameraControlsPlugin.constructor

Defined in

webgi/node_modules/ts-browser-helpers/dist/EventDispatcher.d.ts:41

Accessors

dirty

get dirty(): boolean

Returns

boolean

Inherited from

ACameraControlsPlugin.dirty

Defined in

webgi/src/core/AViewerPlugin.ts:16

set dirty(value): void

Parameters

NameType
valueboolean

Returns

void

Inherited from

ACameraControlsPlugin.dirty

Defined in

webgi/src/core/AViewerPlugin.ts:20


viewer

get viewer(): undefined | TViewer

Returns

undefined | TViewer

Inherited from

ACameraControlsPlugin.viewer

Defined in

webgi/src/core/AViewerPlugin.ts:29

Methods

onDispose

onDispose(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

ACameraControlsPlugin.onDispose

Defined in

webgi/src/core/AViewerPlugin.ts:40


fromJSON

fromJSON(data, meta?): null | TrackballControlsPlugin | Promise<null | TrackballControlsPlugin>

Parameters

NameType
dataany
meta?any

Returns

null | TrackballControlsPlugin | Promise<null | TrackballControlsPlugin>

Inherited from

ACameraControlsPlugin.fromJSON

Defined in

webgi/src/core/AViewerPlugin.ts:56


exportState

exportState(): any

Returns

any

Inherited from

ACameraControlsPlugin.exportState

Defined in

webgi/src/core/AViewerPlugin.ts:68


importState

importState(state): Promise<void>

Parameters

NameType
stateany

Returns

Promise<void>

Inherited from

ACameraControlsPlugin.importState

Defined in

webgi/src/core/AViewerPlugin.ts:71


storeState

storeState(prefix?, storage?, data?): void

Parameters

NameType
prefix?string
storage?Storage
data?any

Returns

void

Inherited from

ACameraControlsPlugin.storeState

Defined in

webgi/src/core/AViewerPlugin.ts:78


loadState

loadState(prefix?, storage?): Promise<void>

Parameters

NameType
prefix?string
storage?Storage

Returns

Promise<void>

Inherited from

ACameraControlsPlugin.loadState

Defined in

webgi/src/core/AViewerPlugin.ts:88


onAdded

onAdded(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

ACameraControlsPlugin.onAdded

Defined in

webgi/src/plugins/ACameraControlsPlugin.ts:11


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

ACameraControlsPlugin.onRemove

Defined in

webgi/src/plugins/ACameraControlsPlugin.ts:17


_storeKey

Protected _storeKey(prefix?): string

Parameters

NameType
prefix?string

Returns

string

Inherited from

ACameraControlsPlugin._storeKey

Defined in

webgi/src/core/AViewerPlugin.ts:64