Class ObjMaterial

java.lang.Object
com.ardor3d.extension.model.util.AbstractMaterial
com.ardor3d.extension.model.obj.ObjMaterial

public class ObjMaterial extends AbstractMaterial
WaveFront OBJ material (MTL). Ns matches with the shininess, d matches with the alpha component(s), Ka matches with the ambient RGB components, Kd matches with the diffuse RGB components, Ks matches with the specular RGB components.
  • Constructor Details

    • ObjMaterial

      public ObjMaterial(String name)
  • Method Details

    • getTextureState

      public TextureState getTextureState()
    • getName

      public String getName()
    • getTextureName

      public String getTextureName()
    • setTextureName

      public void setTextureName(String textureName)
    • getMap_Kd

      public Texture getMap_Kd()
    • setMap_Kd

      public void setMap_Kd(Texture map_Kd)
    • getIllumType

      public int getIllumType()
    • setIllumType

      public void setIllumType(int illumType)