Skip to main content

Class: GLTFLoader2

Asset-Management.GLTFLoader2

Hierarchy

  • GLTFLoader

    GLTFLoader2

Properties

isGLTFLoader2

isGLTFLoader2: boolean = true

Defined in

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

Constructors

constructor

new GLTFLoader2(manager)

Parameters

NameType
managerLoadingManager

Overrides

GLTFLoader.constructor

Defined in

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

Methods

loadAsync

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

Parameters

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

Returns

Promise<any>

Overrides

GLTFLoader.loadAsync

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/GLTFLoader2.ts:11


register

register(callback): GLTFLoader2

Parameters

NameType
callback(parser: GLTFParser) => GLTFLoaderPlugin

Returns

GLTFLoader2

Overrides

GLTFLoader.register

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/GLTFLoader2.ts:25