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
DECODER_URL
▪ Static
DECODER_URL: string
= 'https://unpkg.com/[email protected]/meshopt_decoder.module.js'
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:12
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:14
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:27
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:32