Class: GLTFMeshOptPlugin
Asset-Management.GLTFMeshOptPlugin
Hierarchy
SimpleEventDispatcher
<""
>↳
GLTFMeshOptPlugin
Implements
Properties
PluginType
▪ Static
Readonly
PluginType: "GLTFMeshOptPlugin"
DECODER_URL
▪ Static
DECODER_URL: string
= 'https://unpkg.com/[email protected]/meshopt_decoder.module.js'
dependencies
• dependencies: typeof AssetManagerPlugin
[]
Implementation of
IViewerPluginAsync.dependencies
Constructors
constructor
• new GLTFMeshOptPlugin()
Inherited from
SimpleEventDispatcher<''>.constructor
Methods
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>