
**Inheritance:** java.lang.Object, ColladaElement

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

## Constructors

| Constructor | Description |
| --- | --- |
| [LibraryMaterials()](#LibraryMaterials) |  |

## Methods

| Method | Description |
| --- | --- |
| [getAsset()](#getAsset) | Gets or sets the asset. The library_materials element may contain an asset element. |
| [setAsset(Asset value)](#setAsset-com.aspose.cad.fileformats.collada.fileparser.elements.Asset) | Gets or sets the asset. The library_materials element may contain an asset element. |
| [getMaterial()](#getMaterial) | Gets or sets the material. There must be at least one material element. |
| [setMaterial(Material[] value)](#setMaterial-com.aspose.cad.fileformats.collada.fileparser.elements.Material:A) | Gets or sets the material. There must be at least one material element. |
| [getExtra()](#getExtra) | Gets or sets the extra. The extra element may appear any number of times. |
| [setExtra(Extra[] value)](#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A) | Gets or sets the extra. The extra element may appear any number of times. |
| [getId()](#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)](#setId-java.lang.String) | 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()](#getName) | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |
| [setName(String value)](#setName-java.lang.String) | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |

### LibraryMaterials() {#LibraryMaterials}
```java
public LibraryMaterials()
```

### getAsset() {#getAsset}
```java
public final Asset getAsset()
```

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

**Returns:** Asset

### setAsset(Asset value) {#setAsset-com.aspose.cad.fileformats.collada.fileparser.elements.Asset}
```java
public final void setAsset(Asset value)
```

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

### getMaterial() {#getMaterial}
```java
public final Material[] getMaterial()
```

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

**Returns:** Material[]

### setMaterial(Material[] value) {#setMaterial-com.aspose.cad.fileformats.collada.fileparser.elements.Material:A}
```java
public final void setMaterial(Material[] value)
```

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

### getExtra() {#getExtra}
```java
public final Extra[] getExtra()
```

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

**Returns:** Extra[]

### setExtra(Extra[] value) {#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A}
```java
public final void setExtra(Extra[] value)
```

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

### getId() {#getId}
```java
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) {#setId-java.lang.String}
```java
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() {#getName}
```java
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) {#setName-java.lang.String}
```java
public final void setName(String value)
```

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

