Class: GLTFMeshOptPlugin
Asset-Management.GLTFMeshOptPlugin
Hierarchy
SimpleEventDispatcher
<""
>↳
GLTFMeshOptPlugin
Implements
Properties
PluginType
▪ Static
Readonly
PluginType: "GLTFMeshOptPlugin"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:7
dependencies
• dependencies: typeof AssetManagerPlugin
[]
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:8
Constructors
constructor
• new GLTFMeshOptPlugin()
Inherited from
SimpleEventDispatcher<''>.constructor
Defined in
webgi/node_modules/ts-browser-helpers/dist/EventDispatcher.d.ts:41
Methods
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:11
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:24
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:29