Skip to main content

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

IViewerPlugin.dependencies

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

NameType
viewerViewerApp

Returns

Promise<void>

Implementation of

IViewerPlugin.onAdded

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:14


onDispose

onDispose(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Implementation of

IViewerPlugin.onDispose

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:27


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Implementation of

IViewerPlugin.onRemove

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf-mesh-opt.ts:32