Class: OBJLoader2
Asset-Management.OBJLoader2
Hierarchy
Loader
↳
OBJLoader2
Constructors
constructor
• new OBJLoader2(manager
)
Parameters
Name | Type |
---|---|
manager | any |
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
Name | Type |
---|---|
url | any |
onLoad | any |
onProgress | any |
onError | any |
Returns
void
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:448
setMaterials
▸ setMaterials(materials
): OBJLoader2
Parameters
Name | Type |
---|---|
materials | any |
Returns
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:482
parse
▸ parse(text
): Promise
<Group
>
Parameters
Name | Type |
---|---|
text | any |
Returns
Promise
<Group
>
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/OBJLoader2.ts:490