Class Index | File Index

Classes


Class OBJLoader


Extends ModelLoader.

Defined in: OBJLoader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates an instance of an OBJ + MTL loader.
Method Summary
Method Attributes Method Name and Description
 
parseDependencies(objContent, objEntryName, zip, modelContext)
Parses the given OBJ content and stores the materials it describes in appearances attribute of modelContext.
 
parseEntryScene(objContent, objEntryName, zip, modelContext, onmodelloaded, onprogression)
Parses the given OBJ content and calls onmodelloaded asynchronously or returns the scene it describes if onmodelloaded is null.
Methods borrowed from class ModelLoader:
clear, getModelContent, load
Class Detail
OBJLoader()
Creates an instance of an OBJ + MTL loader.
Author: Emmanuel Puybaret.
Method Detail
parseDependencies(objContent, objEntryName, zip, modelContext)
Parses the given OBJ content and stores the materials it describes in appearances attribute of modelContext.
Parameters:
objContent
objEntryName
zip
modelContext

parseEntryScene(objContent, objEntryName, zip, modelContext, onmodelloaded, onprogression)
Parses the given OBJ content and calls onmodelloaded asynchronously or returns the scene it describes if onmodelloaded is null.
Parameters:
objContent
objEntryName
zip
modelContext
onmodelloaded
onprogression

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 21 2024 17:43:24 GMT+0200 (CEST)