|
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.obj.ObjLoader
public class ObjLoader
Loads Wavefront OBJ files, ignores material files.
Constructor Summary | |
---|---|
ObjLoader()
|
Method Summary | |
---|---|
static Mesh |
loadObj(java.io.InputStream in)
Loads a Wavefront OBJ file from the given input stream. |
static Mesh |
loadObj(java.io.InputStream in,
boolean flipV)
Loads a Wavefront OBJ file from the given input stream. |
static Mesh |
loadObj(java.io.InputStream in,
boolean flipV,
boolean useIndices)
Loads a Wavefront OBJ file from the given input stream. |
static Mesh |
loadObjFromString(java.lang.String obj)
Loads a mesh from the given string in Wavefront OBJ format |
static Mesh |
loadObjFromString(java.lang.String obj,
boolean flipV)
Loads a mesh from the given string in Wavefront OBJ format |
static Mesh |
loadObjFromString(java.lang.String obj,
boolean flipV,
boolean useIndices)
Loads a mesh from the given string in Wavefront OBJ format |
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 static Mesh loadObj(java.io.InputStream in)
in
- the InputStreampublic static Mesh loadObj(java.io.InputStream in, boolean flipV)
in
- the InputStreamflipV
- whether to flip the v texture coordinate or notpublic static Mesh loadObj(java.io.InputStream in, boolean flipV, boolean useIndices)
in
- the InputStreamflipV
- whether to flip the v texture coordinate or notpublic static Mesh loadObjFromString(java.lang.String obj)
obj
- The string
public static Mesh loadObjFromString(java.lang.String obj, boolean flipV)
obj
- The stringflipV
- whether to flip the v texture coordinate or not
public static Mesh loadObjFromString(java.lang.String obj, boolean flipV, boolean useIndices)
obj
- The stringflipV
- whether to flip the v texture coordinate or notuseIndices
- whether to create an array of indices or not
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |