public class Material extends Attributes
Modifier and Type | Field and Description |
---|---|
java.lang.String |
id |
attributes, mask, sorted
Constructor and Description |
---|
Material()
Create an empty material
|
Material(Array<Attribute> attributes)
Create a material with the specified attributes
|
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(java.lang.String id)
Create an empty material
|
Material(java.lang.String id,
Array<Attribute> attributes)
Create a material with the specified attributes
|
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
|
Modifier and Type | Method and Description |
---|---|
Material |
copy()
Create a copy of this material
|
boolean |
equals(Material other) |
boolean |
equals(java.lang.Object obj) |
public Material()
public Material(java.lang.String id)
public Material(Attribute... attributes)
public Material(java.lang.String id, Attribute... attributes)
public Material(Array<Attribute> attributes)
public Material(java.lang.String id, Array<Attribute> attributes)
public Material(Material copyFrom)
public Material(java.lang.String id, Material copyFrom)
public final Material copy()
public final boolean equals(Material other)
public final boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator<Attribute>
equals
in class java.lang.Object