Skip to main content

Class: ScrollableCameraViewPreviewPlugin

Plugins.ScrollableCameraViewPreviewPlugin

Integrates with the viewer container in the editor to allow preview of ScrollableCameraViewPlugin

Hierarchy

Properties

PluginType

Static Readonly PluginType: "ScrollableCameraViewPlugin"

Inherited from

ScrollableCameraViewPlugin.PluginType

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:7


enabled

enabled: boolean = true

Inherited from

ScrollableCameraViewPlugin.enabled

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:16


animEase

animEase: "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate" | "bounceOut" | "bounceIn" | "bounceInOut" | "easeInOutSine" = 'easeInOutSine'

EasingFunctions

Inherited from

ScrollableCameraViewPlugin.animEase

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:21


interpolateMode

interpolateMode: "linear" | "spherical" = 'spherical'

Inherited from

ScrollableCameraViewPlugin.interpolateMode

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:46


enableDamping

enableDamping: boolean = true

Inherited from

ScrollableCameraViewPlugin.enableDamping

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:50


damping

damping: number = 0.04

Inherited from

ScrollableCameraViewPlugin.damping

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:54


initAnimationTime

initAnimationTime: number = 1

Inherited from

ScrollableCameraViewPlugin.initAnimationTime

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:58


dependencies

dependencies: typeof CameraViewPlugin[]

Inherited from

ScrollableCameraViewPlugin.dependencies

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:60


wrapper

wrapper: HTMLDivElement

Inherited from

ScrollableCameraViewPlugin.wrapper

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:9


parent

parent: HTMLElement

Inherited from

ScrollableCameraViewPlugin.parent

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:10


toJSON

toJSON: any = undefined

Inherited from

ScrollableCameraViewPlugin.toJSON

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:12


uiConfig

uiConfig: UiObjectConfig<any, string>

Inherited from

ScrollableCameraViewPlugin.uiConfig

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:74


canvasUp

canvasUp: boolean = false

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:110


_dirty

Protected _dirty: boolean = false

Inherited from

ScrollableCameraViewPlugin._dirty

Defined in

webgi/src/core/AViewerPlugin.ts:23


_viewer

Protected Optional _viewer: ViewerApp

Inherited from

ScrollableCameraViewPlugin._viewer

Defined in

webgi/src/core/AViewerPlugin.ts:27

Accessors

dirty

get dirty(): boolean

Returns

boolean

Inherited from

ScrollableCameraViewPlugin.dirty

Defined in

webgi/src/core/AViewerPlugin.ts:16

set dirty(value): void

Parameters

NameType
valueboolean

Returns

void

Inherited from

ScrollableCameraViewPlugin.dirty

Defined in

webgi/src/core/AViewerPlugin.ts:20


viewer

get viewer(): undefined | TViewer

Returns

undefined | TViewer

Inherited from

ScrollableCameraViewPlugin.viewer

Defined in

webgi/src/core/AViewerPlugin.ts:29


_cameraViews

Protected get _cameraViews(): CameraView[]

Returns

CameraView[]

Inherited from

ScrollableCameraViewPlugin._cameraViews

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:40

Methods

onDispose

onDispose(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

ScrollableCameraViewPlugin.onDispose

Defined in

webgi/src/core/AViewerPlugin.ts:40


fromJSON

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

Parameters

NameType
dataany
meta?any

Returns

null | ScrollableCameraViewPreviewPlugin | Promise<null | ScrollableCameraViewPreviewPlugin>

Inherited from

ScrollableCameraViewPlugin.fromJSON

Defined in

webgi/src/core/AViewerPlugin.ts:56


exportState

exportState(): any

Returns

any

Inherited from

ScrollableCameraViewPlugin.exportState

Defined in

webgi/src/core/AViewerPlugin.ts:68


importState

importState(state): Promise<void>

Parameters

NameType
stateany

Returns

Promise<void>

Inherited from

ScrollableCameraViewPlugin.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

ScrollableCameraViewPlugin.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

ScrollableCameraViewPlugin.loadState

Defined in

webgi/src/core/AViewerPlugin.ts:88


setState

setState(state): void

Parameters

NameType
statenumber

Returns

void

Inherited from

ScrollableCameraViewPlugin.setState

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:62


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

ScrollableCameraViewPlugin.onRemove

Defined in

webgi/src/plugins/CameraViewControlPlugin.ts:72


generateCode

generateCode(): void

Returns

void

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:14


onAdded

onAdded(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Overrides

ScrollableCameraViewPlugin.onAdded

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:132


deserialize

deserialize(ev): void

Parameters

NameType
evIEvent<any>

Returns

void

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:147


addView

addView(ev): void

Parameters

NameType
evIEvent<any>

Returns

void

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:188


deleteView

deleteView(ev): void

Parameters

NameType
evIEvent<any>

Returns

void

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:209


_storeKey

Protected _storeKey(prefix?): string

Parameters

NameType
prefix?string

Returns

string

Inherited from

ScrollableCameraViewPlugin._storeKey

Defined in

webgi/src/core/AViewerPlugin.ts:64


_preFrame

Protected _preFrame(ev): void

Parameters

NameType
evany

Returns

void

Inherited from

ScrollableCameraViewPlugin._preFrame

Defined in

webgi/src/plugins/ScrollableCameraViewPlugin.ts:29


_onEnabledChanged

Protected _onEnabledChanged(): void

Returns

void

Overrides

ScrollableCameraViewPlugin._onEnabledChanged

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:113


_createSection

Protected _createSection(name): void

Parameters

NameType
namestring

Returns

void

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:167

Constructors

constructor

new ScrollableCameraViewPreviewPlugin(parent?, enabled?)

Parameters

NameTypeDefault value
parentstring | HTMLElementdocument.body
enabledbooleanfalse

Overrides

ScrollableCameraViewPlugin.constructor

Defined in

webgi/src/plugins/ScrollableCameraViewPreviewPlugin.ts:126