Class: FrameFadePlugin
Plugins.FrameFadePlugin
Hierarchy
GenericFilterPlugin
<AddBlendPass
,"frameFade"
,""
,ViewerApp
>↳
FrameFadePlugin
Implements
Properties
PluginType
▪ Static
Readonly
PluginType: "FrameFade"
Defined in
webgi/src/plugins/FrameFadePlugin.ts:11
passId
• passId: "frameFade"
Overrides
Defined in
webgi/src/plugins/FrameFadePlugin.ts:12
dependencies
• dependencies: typeof ProgressivePlugin
[]
Implementation of
Defined in
webgi/src/plugins/FrameFadePlugin.ts:23
fadeOnActiveCameraChange
• fadeOnActiveCameraChange: boolean
= true
Defined in
webgi/src/plugins/FrameFadePlugin.ts:25
fadeOnMaterialUpdate
• fadeOnMaterialUpdate: boolean
= true
Defined in
webgi/src/plugins/FrameFadePlugin.ts:26
fadeOnSceneUpdate
• fadeOnSceneUpdate: boolean
= true
Defined in
webgi/src/plugins/FrameFadePlugin.ts:27
pointerEnabled
• pointerEnabled: boolean
= true
Defined in
webgi/src/plugins/FrameFadePlugin.ts:29
_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
_beforeFilters
• Protected
_beforeFilters: string
[]
Overrides
GenericFilterPlugin._beforeFilters
Defined in
webgi/src/plugins/FrameFadePlugin.ts:19
_afterFilters
• Protected
_afterFilters: string
[]
Overrides
GenericFilterPlugin._afterFilters
Defined in
webgi/src/plugins/FrameFadePlugin.ts:20
_requiredFilters
• Protected
_requiredFilters: string
[]
Overrides
GenericFilterPlugin._requiredFilters
Defined in
webgi/src/plugins/FrameFadePlugin.ts:21
_pass
• Protected
Optional
_pass: IFilter
<AddBlendPass
, "frameFade"
>
Inherited from
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:9
Accessors
viewer
• get
viewer(): undefined
| TViewer
Returns
undefined
| TViewer
Inherited from
GenericFilterPlugin.viewer
Defined in
webgi/src/core/AViewerPlugin.ts:29
dirty
• get
dirty(): boolean
Returns
boolean
Implementation of
Overrides
GenericFilterPlugin.dirty
Defined in
webgi/src/plugins/FrameFadePlugin.ts:167
• set
dirty(v
): void
Parameters
Name | Type |
---|---|
v | boolean |
Returns
void
Implementation of
Overrides
GenericFilterPlugin.dirty
Defined in
webgi/src/plugins/FrameFadePlugin.ts:170
uiConfig
• get
uiConfig(): undefined
| UiObjectConfig
<any
, string
>
Returns
undefined
| UiObjectConfig
<any
, string
>
Implementation of
Defined in
webgi/src/plugins/FrameFadePlugin.ts:189
enabled
• get
enabled(): boolean
Returns
boolean
Inherited from
GenericFilterPlugin.enabled
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:24
• set
enabled(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
GenericFilterPlugin.enabled
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:28
pass
• get
pass(): undefined
| IFilter
<T
, TPassId
>
Returns
undefined
| IFilter
<T
, TPassId
>
Inherited from
GenericFilterPlugin.pass
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:69
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:40
exportState
▸ exportState(): any
Returns
any
Inherited from
GenericFilterPlugin.exportState
Defined in
webgi/src/core/AViewerPlugin.ts:68
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
GenericFilterPlugin.importState
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
Implementation of
Inherited from
GenericFilterPlugin.storeState
Defined in
webgi/src/core/AViewerPlugin.ts:78
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Implementation of
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:88
startTransition
▸ startTransition(duration
): Promise
<void
>
Parameters
Name | Type |
---|---|
duration | number |
Returns
Promise
<void
>
Defined in
webgi/src/plugins/FrameFadePlugin.ts:31
stopTransition
▸ stopTransition(): void
Returns
void
Defined in
webgi/src/plugins/FrameFadePlugin.ts:52
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Overrides
Defined in
webgi/src/plugins/FrameFadePlugin.ts:96
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Overrides
Defined in
webgi/src/plugins/FrameFadePlugin.ts:105
passCtor
▸ passCtor(v
): AddBlendPass
Parameters
Name | Type |
---|---|
v | ViewerApp |
Returns
Overrides
Defined in
webgi/src/plugins/FrameFadePlugin.ts:114
setDirty
▸ setDirty(): void
Returns
void
Defined in
webgi/src/plugins/FrameFadePlugin.ts:162
disable
▸ disable(name
): void
Parameters
Name | Type |
---|---|
name | string |
Returns
void
Defined in
webgi/src/plugins/FrameFadePlugin.ts:195
enable
▸ enable(name
): void
Parameters
Name | Type |
---|---|
name | string |
Returns
void
Defined in
webgi/src/plugins/FrameFadePlugin.ts:200
isDisabled
▸ isDisabled(): boolean
Returns
boolean
Defined in
webgi/src/plugins/FrameFadePlugin.ts:206
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Implementation of
IViewerPlugin.toJSON
Inherited from
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:73
fromJSON
▸ fromJSON(data
, meta?
): null
| FrameFadePlugin
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| FrameFadePlugin
Implementation of
IViewerPlugin.fromJSON
Inherited from
Defined in
webgi/src/plugins/GenericFilterPlugin.ts:82
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:64
_update
▸ Protected
_update(v
): boolean
This function is called every frame before composer render, if this pass is being used in the pipeline
Parameters
Name | Type |
---|---|
v | ViewerApp |
Returns
boolean
Overrides
Defined in
webgi/src/plugins/FrameFadePlugin.ts:173
Constructors
constructor
• new FrameFadePlugin()
Overrides
GenericFilterPlugin.constructor