Class: PopmotionPlugin
Plugins.PopmotionPlugin
Hierarchy
AViewerPlugin
<""
>↳
PopmotionPlugin
Properties
PluginType
▪ Static
Readonly
PluginType: "PopmotionPlugin"
Defined in
webgi/src/plugins/PopmotionPlugin.ts:19
enabled
• enabled: boolean
= true
Overrides
Defined in
webgi/src/plugins/PopmotionPlugin.ts:20
toJSON
• toJSON: any
= undefined
Overrides
Defined in
webgi/src/plugins/PopmotionPlugin.ts:22
fromJSON
• fromJSON: any
= undefined
Overrides
Defined in
webgi/src/plugins/PopmotionPlugin.ts:23
dependencies
• dependencies: never
[] = []
Defined in
webgi/src/plugins/PopmotionPlugin.ts:35
disableFrameFade
• disableFrameFade: boolean
= true
Disable the frame fade plugin while animation is running
Defined in
webgi/src/plugins/PopmotionPlugin.ts:41
defaultDriver
• Readonly
defaultDriver: Driver
Defined in
webgi/src/plugins/PopmotionPlugin.ts:95
animations
• Readonly
animations: Record
<string
, AnimationResult
> = {}
Defined in
webgi/src/plugins/PopmotionPlugin.ts:112
_dirty
• Protected
_dirty: boolean
= false
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:23
_viewer
• Protected
Optional
_viewer: ViewerApp
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:27
Accessors
dirty
• get
dirty(): boolean
Returns
boolean
Inherited from
AViewerPlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:16
• set
dirty(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
AViewerPlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:20
viewer
• get
viewer(): undefined
| TViewer
Returns
undefined
| TViewer
Inherited from
AViewerPlugin.viewer
Defined in
webgi/src/core/AViewerPlugin.ts:29
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:40
exportState
▸ exportState(): any
Returns
any
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:68
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:71
storeState
▸ storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:78
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:88
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
Defined in
webgi/src/plugins/PopmotionPlugin.ts:102
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
Defined in
webgi/src/plugins/PopmotionPlugin.ts:107
animate
▸ animate<V
>(options
): AnimationResult
Type parameters
Name |
---|
V |
Parameters
Name | Type |
---|---|
options | AnimationOptions <V > |
Returns
Defined in
webgi/src/plugins/PopmotionPlugin.ts:114
animateAsync
▸ animateAsync<V
>(options
): Promise
<string
>
Type parameters
Name |
---|
V |
Parameters
Name | Type |
---|---|
options | AnimationOptions <V > |
Returns
Promise
<string
>
Defined in
webgi/src/plugins/PopmotionPlugin.ts:159
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:64
Constructors
constructor
• new PopmotionPlugin(enabled?
)
Parameters
Name | Type | Default value |
---|---|---|
enabled | boolean | true |