Skip to main content

Class: KTX2LoadPlugin

Asset-Management.KTX2LoadPlugin

Hierarchy​

  • SimpleEventDispatcher<"">

    ↳ KTX2LoadPlugin

Implements​

Properties​

PluginType​

▪ Static Readonly PluginType: "KTX2LoadPlugin"


TRANSCODER_LIBRARY_PATH​

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


SAVE_SOURCE_BLOBS​

▪ Static SAVE_SOURCE_BLOBS: boolean = false


dependencies​

• dependencies: typeof AssetManagerPlugin[]

Implementation of​

IViewerPluginAsync.dependencies

Constructors​

constructor​

• new KTX2LoadPlugin()

Inherited from​

SimpleEventDispatcher<''>.constructor

Methods​

onAdded​

▸ onAdded(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onAdded


onDispose​

▸ onDispose(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onDispose


onRemove​

▸ onRemove(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onRemove