Skip to main content

Class: PMREMGeneratorPlugin

Plugins.PMREMGeneratorPlugin

deprecated threejs does this internally

Hierarchy​

  • SimpleEventDispatcher<"">

    ↳ PMREMGeneratorPlugin

Implements​

Properties​

PluginType​

▪ Static Readonly PluginType: "PMREMGenerator"


processor​

• processor: IObjectProcessor<ITexture<any>>

Constructors​

constructor​

• new PMREMGeneratorPlugin()

Inherited from​

SimpleEventDispatcher<''>.constructor

Methods​

onAdded​

▸ onAdded(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onAdded


onDispose​

▸ onDispose(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onDispose


onRemove​

▸ onRemove(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onRemove