Package gaiasky.util.gdx.loader
Class MtlLoader
java.lang.Object
gaiasky.util.gdx.loader.MtlLoader
-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.g3d.model.data.ModelMaterial
getMaterial(String name)
void
load(com.badlogic.gdx.files.FileHandle file)
loads .mtl file
-
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
-