Class: BeringRingAnimation
Plugins.BeringRingAnimation
Hierarchy
AViewerPlugin
<""
>↳
BeringRingAnimation
Properties
PluginType
▪ Static
Readonly
PluginType: "BeringRingAnimation"
enabled
• enabled: boolean
= true
Overrides
toJSON
• toJSON: any
= null
Overrides
ringSlots
• ringSlots: IModel
<Object3D
<Object3DEventMap
>, IObject3DEventMap
>[] = []
dependencies
• dependencies: (typeof AssetManagerPlugin
| typeof PopmotionPlugin
)[]
uiConfig
• uiConfig: UiObjectConfig
<any
, string
>
_dirty
• Protected
_dirty: boolean
= false
Inherited from
_viewer
• Protected
Optional
_viewer: ViewerApp
Inherited from
Constructors
constructor
• new BeringRingAnimation()
Inherited from
Accessors
dirty
• get
dirty(): boolean
Returns
boolean
Inherited from
AViewerPlugin.dirty
• set
dirty(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
AViewerPlugin.dirty
viewer
• get
viewer(): undefined
| ViewerApp
Returns
undefined
| ViewerApp
Inherited from
AViewerPlugin.viewer
animating
• get
animating(): boolean
Returns
boolean
• set
animating(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
fromJSON
▸ fromJSON(data
, meta?
): null
| BeringRingAnimation
| Promise
<null
| BeringRingAnimation
>
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| BeringRingAnimation
| Promise
<null
| BeringRingAnimation
>
Inherited from
exportState
▸ exportState(): any
Returns
any
Inherited from
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
storeState
▸ storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Inherited from
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
loadRingBMod
▸ loadRingBMod(newRing
, name
, slot
, totalSlots
): undefined
| IModel
<any
, IObject3DEventMap
>
Parameters
Name | Type |
---|---|
newRing | Object3DModel |
name | string |
slot | number |
totalSlots | number |
Returns
undefined
| IModel
<any
, IObject3DEventMap
>
clearAllSlots
▸ clearAllSlots(): void
Returns
void
stopRingAnimation
▸ stopRingAnimation(transition?
): void
Parameters
Name | Type | Default value |
---|---|---|
transition | boolean | true |
Returns
void
startRingAnimation
▸ startRingAnimation(resetShadows?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
resetShadows | boolean | true |
Returns
Promise
<void
>
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string