UNPKG

@three3d/volume

Version:

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

48 lines (32 loc) 1.89 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [SliceMesh](./volume.slicemesh.md) ## SliceMesh class 呈现3D图像切片的Mesh **Signature:** ```typescript export declare class SliceMesh extends Mesh ``` **Extends:** Mesh ## Remarks 专用于 虽然 也可以用于普通的 Mesh;但如果使用 SliceMesh ,则可以减少很多切片材质 和 geometry 同步操作; ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(options)](./volume.slicemesh._constructor_.md) | | Constructs a new instance of the <code>SliceMesh</code> class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [\_geometry](./volume.slicemesh._geometry.md) | <code>protected</code> | BufferGeometry | | | [\_material](./volume.slicemesh._material.md) | <code>protected</code> | [SliceMaterial](./volume.slicematerial.md) | | | [autoUpdateGeometry](./volume.slicemesh.autoupdategeometry.md) | | boolean | 是否自动更新几何体 | | [axis](./volume.slicemesh.axis.md) | | import("type-tls").Axis | 轴 | | [depth](./volume.slicemesh.depth.md) | | number | 轴上的坐标值 | | [isSliceMesh](./volume.slicemesh.isslicemesh.md) | <code>readonly</code> | (not declared) | | | [map](./volume.slicemesh.map.md) | | import("@three3d/tools").Texture3D \| null | 三维的纹理 | | [material](./volume.slicemesh.material.md) | | [SliceMaterial](./volume.slicematerial.md) | | | [sliceSize](./volume.slicemesh.slicesize.md) | <code>readonly</code> | import("three").Vector2 | 切片的尺寸 | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [updateGeometry()](./volume.slicemesh.updategeometry.md) | | 更新几何体 |