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
|
int |
hashCode() |
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
Copyright © 2014. All rights reserved.