<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [VolumeMaterialOptions](./volume.volumematerialoptions.md)

## VolumeMaterialOptions interface

体积材质的选项

**Signature:**

```typescript
export interface VolumeMaterialOptions<Data3M extends Data3DTexture = Data3DTexture> extends Omit<ShaderMaterialParameters, "map" | "opacity"> 
```
**Extends:** Omit&lt;ShaderMaterialParameters, "map" \| "opacity"&gt;

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [accFactor?](./volume.volumematerialoptions.accfactor.md) |  | number \| null | _(Optional)_ 颜色累积系数 |
|  [alphaRange?](./volume.volumematerialoptions.alpharange.md) |  | IVector2 \| null | _(Optional)_ 有效透明度的取值范围 |
|  [atomize?](./volume.volumematerialoptions.atomize.md) |  | boolean \| null | _(Optional)_ 是否开启雾化的效果 |
|  [containerMax?](./volume.volumematerialoptions.containermax.md) |  | IVector3 \| null | _(Optional)_ 渲染体积材质的容器的最大点 |
|  [containerMin?](./volume.volumematerialoptions.containermin.md) |  | IVector3 \| null | _(Optional)_ 渲染体积材质的容器的最小点 |
|  [fit?](./volume.volumematerialoptions.fit.md) |  | [VolumeFit](./volume.volumefit.md) \| null | _(Optional)_ 体积材质在容器内的填充模式 |
|  [map?](./volume.volumematerialoptions.map.md) |  | Data3M \| null | _(Optional)_ 三维的纹理 |
|  [opacity?](./volume.volumematerialoptions.opacity.md) |  | number \| null | _(Optional)_ 透明度 |
|  [side?](./volume.volumematerialoptions.side.md) |  | Side \| undefined | _(Optional)_ Mesh三角形的渲染面 |
|  [steps?](./volume.volumematerialoptions.steps.md) |  | number \| null | _(Optional)_ 体积材质渲染的采样数 |

