Material

Inheritance: java.lang.Object, ColladaElement

The material. Materials describe the visual appearance of a geometric object.

Constructors

ConstructorDescription
Material()

Methods

MethodDescription
getAsset()Gets or sets the asset. The material element may contain an asset element.
setAsset(Asset value)Gets or sets the asset. The material element may contain an asset element.
getInstanceEffect()Gets or sets the instance effect. The material must instance an effect.
setInstanceEffect(InstanceEffect value)Gets or sets the instance effect. The material must instance an effect.
getExtra()Gets or sets the extra. The extra element may appear any number of times.
setExtra(Extra[] value)Gets or sets the extra. The extra element may appear any number of times.
getId()Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.
setId(String value)Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.
getName()Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
setName(String value)Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

Material()

public Material()

getAsset()

public final Asset getAsset()

Gets or sets the asset. The material element may contain an asset element.

Returns: Asset

setAsset(Asset value)

public final void setAsset(Asset value)

Gets or sets the asset. The material element may contain an asset element.

getInstanceEffect()

public final InstanceEffect getInstanceEffect()

Gets or sets the instance effect. The material must instance an effect.

Returns: InstanceEffect

setInstanceEffect(InstanceEffect value)

public final void setInstanceEffect(InstanceEffect value)

Gets or sets the instance effect. The material must instance an effect.

getExtra()

public final Extra[] getExtra()

Gets or sets the extra. The extra element may appear any number of times.

Returns: Extra[]

setExtra(Extra[] value)

public final void setExtra(Extra[] value)

Gets or sets the extra. The extra element may appear any number of times.

getId()

public final String getId()

Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.

Returns: String

setId(String value)

public final void setId(String value)

Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.

getName()

public final String getName()

Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

Returns: String

setName(String value)

public final void setName(String value)

Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.