Skip to main content

Class: SceneCamerasUiPlugin

UI-Plugins.SceneCamerasUiPlugin

Hierarchy

Properties

PluginType

Static Readonly PluginType: "SimpleSceneCamerasUi"


toJSON

toJSON: any = undefined

Overrides

AViewerPlugin.toJSON


enabled

enabled: boolean = true

Overrides

AViewerPlugin.enabled


uiConfig

uiConfig: UiObjectConfig<any, string>


dependencies

dependencies: typeof AssetManagerPlugin[]


_dirty

Protected _dirty: boolean = false

Inherited from

AViewerPlugin._dirty


_viewer

Protected Optional _viewer: ViewerApp

Inherited from

AViewerPlugin._viewer

Accessors

dirty

get dirty(): boolean

Returns

boolean

Inherited from

AViewerPlugin.dirty

set dirty(value): void

Parameters

NameType
valueboolean

Returns

void

Inherited from

AViewerPlugin.dirty


viewer

get viewer(): undefined | ViewerApp

Returns

undefined | ViewerApp

Inherited from

AViewerPlugin.viewer

Methods

onDispose

onDispose(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

AViewerPlugin.onDispose


fromJSON

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

Parameters

NameType
dataany
meta?any

Returns

null | SceneCamerasUiPlugin | Promise<null | SceneCamerasUiPlugin>

Inherited from

AViewerPlugin.fromJSON


exportState

exportState(): any

Returns

any

Inherited from

AViewerPlugin.exportState


importState

importState(state): Promise<void>

Parameters

NameType
stateany

Returns

Promise<void>

Inherited from

AViewerPlugin.importState


storeState

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

Parameters

NameType
prefix?string
storage?Storage
data?any

Returns

void

Inherited from

AViewerPlugin.storeState


loadState

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

Parameters

NameType
prefix?string
storage?Storage

Returns

Promise<void>

Inherited from

AViewerPlugin.loadState


onAdded

onAdded(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Overrides

AViewerPlugin.onAdded


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Overrides

AViewerPlugin.onRemove


_storeKey

Protected _storeKey(prefix?): string

Parameters

NameType
prefix?string

Returns

string

Inherited from

AViewerPlugin._storeKey

Constructors

constructor

new SceneCamerasUiPlugin()

Overrides

AViewerPlugin.constructor