Class OBJLoader
Extends
ModelLoader.
Defined in: OBJLoader.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates an instance of an OBJ + MTL loader.
|
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
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