Skip to main content

Class: OBJLoader2

Asset-Management.OBJLoader2

Hierarchy

  • Loader

    OBJLoader2

Constructors

constructor

new OBJLoader2(manager)

Parameters

NameType
managerany

Overrides

Loader.constructor

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:440

Methods

load

load(url, onLoad, onProgress, onError): void

Parameters

NameType
urlany
onLoadany
onProgressany
onErrorany

Returns

void

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:448


setMaterials

setMaterials(materials): OBJLoader2

Parameters

NameType
materialsany

Returns

OBJLoader2

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:482


parse

parse(text): Promise<Group>

Parameters

NameType
textany

Returns

Promise<Group>

Defined in

webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:490