## Node.Material property

Gets or sets the first material associated with this node, if sets, will clear other materials

```csharp
public Material Material { get; set; }
```

### Property Value

The material.

## Examples

```csharp
Scene scene = new Scene();
var node = scene.RootNode.CreateChildNode(new Box());
node.Material = new LambertMaterial();
```

### See Also

* class [Material](../../../aspose.threed.shading/material/)
* class [Node](../)
* namespace [Aspose.ThreeD](../../node/)
* assembly [Aspose.3D](../../../)


