|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.graphics.g3d.loaders.wavefront.ObjLoader
public class ObjLoader
Loads Wavefront OBJ files.
Constructor Summary | |
---|---|
ObjLoader()
|
Method Summary | |
---|---|
StillModel |
load(FileHandle handle,
ModelLoaderHints hints)
|
StillModel |
loadObj(FileHandle file)
Loads a Wavefront OBJ file from a given file handle. |
StillModel |
loadObj(FileHandle file,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle. |
StillModel |
loadObj(FileHandle file,
FileHandle textureDir,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjLoader()
Method Detail |
---|
public StillModel loadObj(FileHandle file)
file
- the FileHandlepublic StillModel loadObj(FileHandle file, boolean flipV)
file
- the FileHandleflipV
- whether to flip the v texture coordinate (Blender, Wings3D, et al)public StillModel loadObj(FileHandle file, FileHandle textureDir, boolean flipV)
file
- the FileHandletextureDir
- flipV
- whether to flip the v texture coordinate (Blender, Wings3D, et al)public StillModel load(FileHandle handle, ModelLoaderHints hints)
load
in interface ModelLoader
load
in interface StillModelLoader
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |