LibraryMaterials

Inheritance: java.lang.Object, ColladaElement

The library materials. The library_materials element declares a module of material elements.

Constructors

ConstructorDescription
LibraryMaterials()

Methods

MethodDescription
getAsset()Gets or sets the asset. The library_materials element may contain an asset element.
setAsset(Asset value)Gets or sets the asset. The library_materials element may contain an asset element.
getMaterial()Gets or sets the material. There must be at least one material element.
setMaterial(Material[] value)Gets or sets the material. There must be at least one material element.
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.

LibraryMaterials()

public LibraryMaterials()

getAsset()

public final Asset getAsset()

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

Returns: Asset

setAsset(Asset value)

public final void setAsset(Asset value)

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

getMaterial()

public final Material[] getMaterial()

Gets or sets the material. There must be at least one material element.

Returns: Material[]

setMaterial(Material[] value)

public final void setMaterial(Material[] value)

Gets or sets the material. There must be at least one material element.

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.