UNPKG

@three3d/volume

Version:

@three3d/volume 提供了 ThreeJS 的云效果,包括:点状云、线状云、热力云

25 lines (16 loc) 961 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [SliceMaterialOptions](./volume.slicematerialoptions.md) ## SliceMaterialOptions interface 切片材质的选项 **Signature:** ```typescript export interface SliceMaterialOptions extends Omit<ShaderMaterialParameters, "opacity"> ``` **Extends:** Omit&lt;ShaderMaterialParameters, "opacity"&gt; ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [axis?](./volume.slicematerialoptions.axis.md) | | Axis \| null | _(Optional)_ 轴 | | [depth?](./volume.slicematerialoptions.depth.md) | | number \| null | _(Optional)_ 轴上的坐标值 | | [map?](./volume.slicematerialoptions.map.md) | | Texture3D \| null | _(Optional)_ 三维的纹理 | | [opacity?](./volume.slicematerialoptions.opacity.md) | | number \| null | _(Optional)_ 透明度 |