<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [SliceMaterial](./volume.slicematerial.md)

## SliceMaterial class

切片材质

**Signature:**

```typescript
export declare class SliceMaterial extends ShaderMaterial 
```
**Extends:** ShaderMaterial

## Remarks

用于呈现3D图像的在指定轴上指定位置处的截面

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(options)](./volume.slicematerial._constructor_.md) |  | Constructs a new instance of the <code>SliceMaterial</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [\_sliceSize?](./volume.slicematerial._slicesize.md) | <code>protected</code> | Vector2 \| null | _(Optional)_ |
|  [axis](./volume.slicematerial.axis.md) |  | Axis | 轴 |
|  [depth](./volume.slicematerial.depth.md) |  | number | 轴上的坐标值 |
|  [isSliceMaterial](./volume.slicematerial.isslicematerial.md) | <code>readonly</code> | (not declared) |  |
|  [map](./volume.slicematerial.map.md) |  | Texture3D \| null | 三维的纹理 |
|  [opacity](./volume.slicematerial.opacity.md) |  | number | 透明度 |
|  [sliceSize](./volume.slicematerial.slicesize.md) | <code>readonly</code> | Vector2 | 切片的尺寸 |
|  [uniforms](./volume.slicematerial.uniforms.md) |  | [SliceMaterialUniforms](./volume.slicematerialuniforms.md) |  |

