<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [VolumeMesh](./volume.volumemesh.md) &gt; [autoUpdateMaterial](./volume.volumemesh.autoupdatematerial.md)

## VolumeMesh.autoUpdateMaterial property

是否自动更新材质

**Signature:**

```typescript
autoUpdateMaterial: boolean;
```

## Remarks

当启动该选项后，在 VolumeMesh 监测到 geometry 变更时，会自动更新体积材质的相关选项，以适应新的 geometry

