Class GaiaMaterial

All Implemented Interfaces:
Serializable

public class GaiaMaterial extends MaterialStructure implements Serializable
A class that represents a material of a Gaia object. It contains the diffuse color, ambient color, specular color, shininess, id, name and textures. The textures are stored in a LinkedHashMap. The key is the texture type and the value is the list of textures.
See Also:
  • Constructor Details

    • GaiaMaterial

      public GaiaMaterial()
  • Method Details

    • isOpaqueMaterial

      public boolean isOpaqueMaterial()
    • deleteTextures

      public void deleteTextures()
    • clear

      public void clear()
    • clone

      public GaiaMaterial clone()
    • hasTextures

      public boolean hasTextures()
    • saveTextures

      public void saveTextures(Path imagesTempDir)