Class Material

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String id  
    • Constructor Summary

      Constructors 
      Constructor Description
      Material()
      Create an empty material
      Material​(Attribute... attributes)
      Create a material with the specified attributes
      Material​(Material copyFrom)
      Create a material which is an exact copy of the specified material
      Material​(Array<Attribute> attributes)
      Create a material with the specified attributes
      Material​(java.lang.String id)
      Create an empty material
      Material​(java.lang.String id, Attribute... attributes)
      Create a material with the specified attributes
      Material​(java.lang.String id, Material copyFrom)
      Create a material which is an exact copy of the specified material
      Material​(java.lang.String id, Array<Attribute> attributes)
      Create a material with the specified attributes
    • Field Detail

      • id

        public java.lang.String id
    • Constructor Detail

      • Material

        public Material()
        Create an empty material
      • Material

        public Material​(java.lang.String id)
        Create an empty material
      • Material

        public Material​(Attribute... attributes)
        Create a material with the specified attributes
      • Material

        public Material​(java.lang.String id,
                        Attribute... attributes)
        Create a material with the specified attributes
      • Material

        public Material​(Array<Attribute> attributes)
        Create a material with the specified attributes
      • Material

        public Material​(java.lang.String id,
                        Array<Attribute> attributes)
        Create a material with the specified attributes
      • Material

        public Material​(Material copyFrom)
        Create a material which is an exact copy of the specified material
      • Material

        public Material​(java.lang.String id,
                        Material copyFrom)
        Create a material which is an exact copy of the specified material
    • Method Detail

      • copy

        public Material copy()
        Create a copy of this material
      • equals

        public boolean equals​(java.lang.Object other)
        Specified by:
        equals in interface java.util.Comparator<Attribute>
        Overrides:
        equals in class Attributes