Class 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

      All Methods Instance Methods Concrete Methods 
      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 file
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • materials

        public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial> materials
    • Constructor Detail

      • MtlLoader

        public MtlLoader()
    • Method Detail

      • 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)