Class: PMREMGeneratorPlugin
Plugins.PMREMGeneratorPlugin
deprecated
threejs does this internally
Hierarchy
↳
PMREMGeneratorPlugin
Implements
Properties
PluginType
▪ Static
Readonly
PluginType: "PMREMGenerator"
Defined in
webgi/src/plugins/threejs/PMREMGeneratorPlugin.ts:11
processor
• processor: IObjectProcessor
<ITexture
<any
>>
Defined in
webgi/src/plugins/threejs/PMREMGeneratorPlugin.ts:14
Constructors
constructor
• new PMREMGeneratorPlugin()
Inherited from
SimpleEventDispatcher.constructor
Defined in
webgi/src/helpers/EventDispatcher.ts:39
Methods
addEventListener
▸ addEventListener(type
, listener
): void
Adds a listener to an event type.
Parameters
Name | Type |
---|---|
type | "" |
listener | (event : IEvent <"" >) => void |
Returns
void
Implementation of
IViewerPlugin.addEventListener
Inherited from
SimpleEventDispatcher.addEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:48
hasEventListener
▸ hasEventListener(type
, listener
): boolean
Checks if listener is added to an event type.
Parameters
Name | Type |
---|---|
type | "" |
listener | (event : IEvent <"" >) => void |
Returns
boolean
Implementation of
IViewerPlugin.hasEventListener
Inherited from
SimpleEventDispatcher.hasEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:56
removeEventListener
▸ removeEventListener(type
, listener
): void
Removes a listener from an event type.
Parameters
Name | Type |
---|---|
type | "" |
listener | (event : IEvent <"" >) => void |
Returns
void
Implementation of
IViewerPlugin.removeEventListener
Inherited from
SimpleEventDispatcher.removeEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:63
dispatchEvent
▸ dispatchEvent(event
): void
Fire an event type.
Parameters
Name | Type |
---|---|
event | IEvent <"" > |
Returns
void
Implementation of
Inherited from
SimpleEventDispatcher.dispatchEvent
Defined in
webgi/src/helpers/EventDispatcher.ts:74
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Defined in
webgi/src/plugins/threejs/PMREMGeneratorPlugin.ts:31
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Defined in
webgi/src/plugins/threejs/PMREMGeneratorPlugin.ts:37
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>