public class Material extends Attributes
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(String id)
Create an empty material
|
Material(String id,
Array<Attribute> attributes)
Create a material with the specified attributes
|
Material(String id,
Attribute... attributes)
Create a material with the specified attributes
|
Material(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(Object other) |
int |
hashCode() |
attributesHash, clear, compare, compareTo, get, get, get, getMask, has, iterator, remove, same, same, set, set, set, set, set, set, size, sort
getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public String id
public Material()
public Material(String id)
public Material(Attribute... attributes)
public Material(String id, Attribute... attributes)
public Material(Array<Attribute> attributes)
public Material(String id, Array<Attribute> attributes)
public Material(Material copyFrom)
public final Material copy()
public int hashCode()
hashCode
in class Attributes
public boolean equals(Object other)
equals
in interface Comparator<Attribute>
equals
in class Attributes
Copyright © 2015. All rights reserved.