Class: NoiseBumpMaterialPlugin
Plugins.NoiseBumpMaterialPlugin
Hierarchy
AViewerPlugin<"">↳
NoiseBumpMaterialPlugin
Implements
Properties
PluginType
▪ Static Readonly PluginType: "NoiseBumpMaterialPlugin"
NOISE_BUMP_MATERIAL_GLTF_EXTENSION
▪ Static Readonly NOISE_BUMP_MATERIAL_GLTF_EXTENSION: "WEBGI_materials_noise_bump"
enabled
• enabled: boolean = true
Overrides
dependencies
• dependencies: typeof AssetManagerPlugin[]
Implementation of
IViewerPluginAsync.dependencies
materialExtension
• Readonly materialExtension: MaterialExtension
_dirty
• Protected _dirty: boolean = false
Inherited from
_viewer
• Protected Optional _viewer: ViewerApp
Inherited from
Accessors
dirty
• get dirty(): boolean
Returns
boolean
Implementation of
Inherited from
AViewerPlugin.dirty
• set dirty(value): void
Parameters
| Name | Type |
|---|---|
value | boolean |
Returns
void
Implementation of
Inherited from
AViewerPlugin.dirty
viewer
• get viewer(): undefined | ViewerApp
Returns
undefined | ViewerApp
Inherited from
AViewerPlugin.viewer
Methods
onDispose
▸ onDispose(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Implementation of
Inherited from
toJSON
▸ toJSON(meta?): any
Parameters
| Name | Type |
|---|---|
meta? | any |
Returns
any
Implementation of
IViewerPluginAsync.toJSON
Inherited from
fromJSON
▸ fromJSON(data, meta?): null | NoiseBumpMaterialPlugin | Promise<null | NoiseBumpMaterialPlugin>
Parameters
| Name | Type |
|---|---|
data | any |
meta? | any |
Returns
null | NoiseBumpMaterialPlugin | Promise<null | NoiseBumpMaterialPlugin>
Implementation of
IViewerPluginAsync.fromJSON
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
Implementation of
Inherited from
loadState
▸ loadState(prefix?, storage?): Promise<void>
Parameters
| Name | Type |
|---|---|
prefix? | string |
storage? | Storage |
Returns
Promise<void>
Implementation of
Inherited from
addNoiseBumpMaterial
▸ addNoiseBumpMaterial(material): boolean
Parameters
| Name | Type |
|---|---|
material | IMaterial<any, IMaterialEventMap> |
Returns
boolean
setDirty
▸ setDirty(): void
Returns
void
onAdded
▸ onAdded(v): Promise<void>
Parameters
| Name | Type |
|---|---|
v | ViewerApp |
Returns
Promise<void>
Implementation of
Overrides
onRemove
▸ onRemove(v): Promise<void>
Parameters
| Name | Type |
|---|---|
v | ViewerApp |
Returns
Promise<void>
Implementation of
Overrides
_storeKey
▸ Protected _storeKey(prefix?): string
Parameters
| Name | Type |
|---|---|
prefix? | string |
Returns
string
Inherited from
Constructors
constructor
• new NoiseBumpMaterialPlugin()