Class OwnMtlLoader

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

public class OwnMtlLoader 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

    • OwnMtlLoader

      public OwnMtlLoader()
  • 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)