Skip to main content

Class: DRACOLoader2

Asset-Management.DRACOLoader2

Hierarchy

  • DRACOLoader

    DRACOLoader2

Properties

encoderPending

encoderPending: null | Promise<any> = null

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:5


encoderConfig

encoderConfig: any

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:6

Constructors

constructor

new DRACOLoader2(manager?)

Parameters

NameType
manager?LoadingManager

Overrides

DRACOLoader.constructor

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:8

Methods

loadAsync

loadAsync(url, onProgress?): Promise<any>

Parameters

NameType
urlstring
onProgress?(event: ProgressEvent<EventTarget>) => void

Returns

Promise<any>

Overrides

DRACOLoader.loadAsync

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:16


preload

preload(decoder?, encoder?): DRACOLoader

Parameters

NameTypeDefault value
decoderbooleantrue
encoderbooleanfalse

Returns

DRACOLoader

Overrides

DRACOLoader.preload

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:22


initEncoder

initEncoder(): Promise<any>

Returns

Promise<any>

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:28


initDecoder

initDecoder(): Promise<any>

Returns

Promise<any>

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/DRACOLoader2.ts:59