Skip to main content

Class: ObjectLoader2

Asset-Management.ObjectLoader2

Hierarchy

  • ObjectLoader

    ObjectLoader2

Methods

LoadRootPathTextures

Static LoadRootPathTextures(textures, images, importer, usePreviewImages?): Promise<void>

Parameters

NameTypeDefault value
texturesanyundefined
imagesanyundefined
importerIAssetImporterundefined
usePreviewImagesbooleantrue

Returns

Promise<void>

Defined in

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


parseTextures2

parseTextures2(json, images, onLoad): Object

Parameters

NameType
jsonany[]
imagesany
onLoad(v: any) => void

Returns

Object

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:48


parseMaterials2

parseMaterials2(json, textures, materials): any

Parameters

NameType
jsonany[]
texturesany
materialsIMaterialManager

Returns

any

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:86

Constructors

constructor

new ObjectLoader2(manager)

Parameters

NameType
managerLoadingManager

Overrides

ObjectLoader.constructor

Defined in

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