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

© Copyrights 2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Oct 25 2017 16:36:09 GMT+0200 (CEST)