Skip to main content

Class: KTX2LoadPlugin

Asset-Management.KTX2LoadPlugin

Hierarchy

  • SimpleEventDispatcher<"">

    KTX2LoadPlugin

Implements

Properties

PluginType

Static Readonly PluginType: "KTX2LoadPlugin"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/ktx2.ts:14


TRANSCODER_LIBRARY_PATH

Static TRANSCODER_LIBRARY_PATH: string = 'https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@master/webgl/transcoder/build/'

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/ktx2.ts:18


dependencies

dependencies: typeof AssetManagerPlugin[]

Implementation of

IViewerPlugin.dependencies

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/ktx2.ts:15

Constructors

constructor

new KTX2LoadPlugin()

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/ktx2.ts:21


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/ktx2.ts:50


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/ktx2.ts:56