Class MtlLoader

java.lang.Object
gaiasky.util.gdx.loader.MtlLoader

public class MtlLoader extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial
     
    void
    load​(com.badlogic.gdx.files.FileHandle file)
    loads .mtl file

    Methods 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(String name)