Package gaiasky.util.gdx.loader
Class MtlLoader
java.lang.Object
gaiasky.util.gdx.loader.MtlLoader
public class MtlLoader
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial>
materials
-
Constructor Summary
Constructors Constructor Description MtlLoader()
-
Method Summary
Modifier and Type Method Description com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial
getMaterial(java.lang.String name)
void
load(com.badlogic.gdx.files.FileHandle file)
loads .mtl fileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
materials
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial> materials
-
-
Constructor Details
-
MtlLoader
public MtlLoader()
-
-
Method Details
-
load
public void load(com.badlogic.gdx.files.FileHandle file)loads .mtl file -
getMaterial
public com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial getMaterial(java.lang.String name)
-