<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/volume](./volume.md)

## volume package

ThreeJS 的云效果

## Remarks

- 点状云

- 线状云

- 热力云

## Classes

|  Class | Description |
|  --- | --- |
|  [ColorFogPointsMaterial](./volume.colorfogpointsmaterial.md) |  |
|  [ExampleVolumeMaterial\_1](./volume.examplevolumematerial_1.md) | 体积材质 |
|  [ExampleVolumeMaterial\_Cloud](./volume.examplevolumematerial_cloud.md) | 示例体积材质-云 |
|  [ExampleVolumeMaterial\_Perlin](./volume.examplevolumematerial_perlin.md) | 示例体积材质-花边 |
|  [FogPointsMaterial](./volume.fogpointsmaterial.md) |  |
|  [GradientData3DTexture](./volume.gradientdata3dtexture.md) | 3D数据纹理 |
|  [GradientFogPointsMaterial](./volume.gradientfogpointsmaterial.md) | 梯度雾点材质 |
|  [GradientVolumeMaterial](./volume.gradientvolumematerial.md) | 梯度体积材质 |
|  [ImageData3DTexture](./volume.imagedata3dtexture.md) | 3D图像纹理 |
|  [ImageData3DTextureSlice](./volume.imagedata3dtextureslice.md) | 获取3D图像切片的工具 |
|  [ImageVolumeMaterial](./volume.imagevolumematerial.md) | 图像体积材质 |
|  [SliceMaterial](./volume.slicematerial.md) | 切片材质 |
|  [SliceMesh](./volume.slicemesh.md) | 呈现3D图像切片的Mesh |
|  [SphereFogMaterial](./volume.spherefogmaterial.md) | 体积雾材质 |
|  [VolumeMesh](./volume.volumemesh.md) | 体积Mesh |

## Abstract Classes

|  Abstract Class | Description |
|  --- | --- |
|  [VolumeMaterial](./volume.volumematerial.md) | 体积材质 |

## Enumerations

|  Enumeration | Description |
|  --- | --- |
|  [VolumeFit](./volume.volumefit.md) | 体积材质填充模式 |
|  [VolumeRenderStyle](./volume.volumerenderstyle.md) | 体积渲染样式 |

## Functions

|  Function | Description |
|  --- | --- |
|  [computeHeatData3DForPoint(pointInfo, extraInfo, intersects)](./volume.computeheatdata3dforpoint.md) | 根据热力点来计算并生成相关的3D数据 |
|  [createColorFogPoints(options)](./volume.createcolorfogpoints.md) | 创建颜色雾点 |
|  [createGradientData3DTexture(data3D, options)](./volume.creategradientdata3dtexture.md) | 创建梯度 Data3DTexture |
|  [createGradientFogPoints(options)](./volume.creategradientfogpoints.md) | 创建梯度雾点 |
|  [createHeatData3D(options)](./volume.createheatdata3d.md) | 创建热力3D数据 |
|  [createImageData3DTextureByExtrudeImage(image, depth, options)](./volume.createimagedata3dtexturebyextrudeimage.md) | 通过挤出Image来创建 ImageData3DTexture |
|  [createImageData3DTextureFromGradient(gradientData3D, options)](./volume.createimagedata3dtexturefromgradient.md) | 从梯度数据 创建梯度图像 ImageData3DTexture |
|  [createLineData3D(options)](./volume.createlinedata3d.md) | 创建线性Data3D数据 |
|  [gradientData3DToImageData3D(data3D, gradient, options)](./volume.gradientdata3dtoimagedata3d.md) | 梯度 Data3D 转 ImageData3D |
|  [hollowGradient\_Default({ startHollow, addedHollow, ratio })](./volume.hollowgradient_default.md) | 默认的空心比率梯度函数 |
|  [lineValueGradient\_Default({ startValue, addedValue, ratio })](./volume.linevaluegradient_default.md) | 默认的轴线值梯度函数 |
|  [makeOriginOnBoundingBoxMinOfGeometry(geometry)](./volume.makeoriginonboundingboxminofgeometry.md) | 将几何体的原点移动包围盒的最小点处 |
|  [numberValuesAccumulate\_Default(values, clim)](./volume.numbervaluesaccumulate_default.md) | 默认的数值累积函数 |
|  [optimizeGradientOptions(gradientOptions, options)](./volume.optimizegradientoptions.md) | 对梯度选项进行优化 |
|  [radiusGradient\_Default({ startRadius, addedRadius, ratio })](./volume.radiusgradient_default.md) | 默认的半径梯度函数 |
|  [transformGradientOptions(options, matrix)](./volume.transformgradientoptions.md) | 对梯度选项应用矩阵变换 |
|  [translateScaleGradientOptions(options, translate, scale)](./volume.translatescalegradientoptions.md) | 对梯度选项进行平移后再缩放 |
|  [valueGradient\_Default({ ratio, value })](./volume.valuegradient_default.md) | 默认的值梯度函数 |
|  [valuesAccumulate\_Default(values, clim)](./volume.valuesaccumulate_default.md) | 默认的值累积函数 |

## Interfaces

|  Interface | Description |
|  --- | --- |
|  [ColorFogPointsMaterialOptions](./volume.colorfogpointsmaterialoptions.md) | 雾点材质的选项 |
|  [ColorFogPointsOptions](./volume.colorfogpointsoptions.md) |  |
|  [CreateGradientData3DTextureOptions](./volume.creategradientdata3dtextureoptions.md) |  |
|  [ExampleVolumeMaterial\_1Options](./volume.examplevolumematerial_1options.md) | 体积材质选项 |
|  [ExampleVolumeMaterial\_1Uniforms](./volume.examplevolumematerial_1uniforms.md) |  |
|  [ExampleVolumeMaterial\_CloudOptions](./volume.examplevolumematerial_cloudoptions.md) | 示例体积材质-云 的选项 |
|  [ExampleVolumeMaterial\_CloudUniforms](./volume.examplevolumematerial_clouduniforms.md) | 示例体积材质-云 的 uniforms |
|  [ExampleVolumeMaterial\_PerlinOptions](./volume.examplevolumematerial_perlinoptions.md) | 体积切片材质选项 |
|  [ExampleVolumeMaterial\_PerlinUniforms](./volume.examplevolumematerial_perlinuniforms.md) | 示例体积材质-花边 的 uniforms |
|  [FogPointsMaterialOptions](./volume.fogpointsmaterialoptions.md) | 雾点材质的选项 |
|  [FogPointsMaterialUniforms](./volume.fogpointsmaterialuniforms.md) | 雾点材质的 uniforms |
|  [GradientData3DOptions](./volume.gradientdata3doptions.md) | 梯度 Data3D 选项 |
|  [GradientData3DToImageData3DOptions](./volume.gradientdata3dtoimagedata3doptions.md) | 梯度 Data3D 转 ImageData3D 的选项 |
|  [GradientFogPointsGeometryOptions](./volume.gradientfogpointsgeometryoptions.md) |  |
|  [GradientFogPointsMaterialOptions](./volume.gradientfogpointsmaterialoptions.md) | 梯度雾点材质的选项 |
|  [GradientFogPointsMaterialUniforms](./volume.gradientfogpointsmaterialuniforms.md) | 梯度雾点材质的 uniforms |
|  [GradientFogPointsOptions](./volume.gradientfogpointsoptions.md) |  |
|  [GradientOptionsOptimizeOptions](./volume.gradientoptionsoptimizeoptions.md) | 优化选项 |
|  [GradientParams](./volume.gradientparams.md) | 梯度函数的参数 |
|  [GradientVolumeMaterialOptions](./volume.gradientvolumematerialoptions.md) | 梯度体积材质选项 |
|  [GradientVolumeMaterialUniforms](./volume.gradientvolumematerialuniforms.md) | GradientVolumeMaterial 的 uniforms 类型 |
|  [HeatData3DOptions](./volume.heatdata3doptions.md) | 创建热力3D数据的选项 |
|  [HeatParticleVolumeFeature](./volume.heatparticlevolumefeature.md) | 热力粒子体积特性 |
|  [LineData3DOptions](./volume.linedata3doptions.md) | 创建线性3D数据的选项 |
|  [LineGradientParams](./volume.linegradientparams.md) | 轴线梯度函数的参数 |
|  [ParticleVolumeFeature](./volume.particlevolumefeature.md) | 粒子体积特征 |
|  [SliceMaterialOptions](./volume.slicematerialoptions.md) | 切片材质的选项 |
|  [SliceMaterialUniforms](./volume.slicematerialuniforms.md) | 切片材质的 uniforms |
|  [SphereFogMaterialOptions](./volume.spherefogmaterialoptions.md) | 球形雾材质选项 |
|  [SphereFogMaterialUniforms](./volume.spherefogmaterialuniforms.md) | 球形雾的 uniforms |
|  [SphereParticleVolumeFeature](./volume.sphereparticlevolumefeature.md) |  |
|  [TransferableGradientFeature](./volume.transferablegradientfeature.md) | 梯度特性 |
|  [TransferableGradientOptions](./volume.transferablegradientoptions.md) | 可变换的梯度选项 |
|  [VolumeFeature](./volume.volumefeature.md) | 体积特征 |
|  [VolumeMaterialOptions](./volume.volumematerialoptions.md) | 体积材质的选项 |
|  [VolumeMaterialUniforms](./volume.volumematerialuniforms.md) | 体积材质的 Uniforms 类型 |

## Type Aliases

|  Type Alias | Description |
|  --- | --- |
|  [ColorFogPoint](./volume.colorfogpoint.md) |  |
|  [ColorFogPointsMaterialUniforms](./volume.colorfogpointsmaterialuniforms.md) | 雾点材质的 uniforms |
|  [CreateColorFogPointsOptions](./volume.createcolorfogpointsoptions.md) |  |
|  [CreateGradientFogPointsOptions](./volume.creategradientfogpointsoptions.md) |  |
|  [CreateImageData3DTextureFromGradientOptions](./volume.createimagedata3dtexturefromgradientoptions.md) |  |
|  [Data3DPointExtraInfo](./volume.data3dpointextrainfo.md) | 计算 Data3D 点所需要的额外信息 |
|  [GetGradientValue](./volume.getgradientvalue.md) | 值梯度函数 |
|  [GetLineGradientValue](./volume.getlinegradientvalue.md) | 轴线值梯度函数 |
|  [GradientFogPoint](./volume.gradientfogpoint.md) |  |
|  [HeatAccumulateValue](./volume.heataccumulatevalue.md) | 热力值及其相关信息 |
|  [HeatParticleVolumeFeaturePoint](./volume.heatparticlevolumefeaturepoint.md) | 热力点 |
|  [HeatParticleVolumeFeaturePointInfo](./volume.heatparticlevolumefeaturepointinfo.md) | 热力点信息 |
|  [HeatParticleVolumeFeatureVectorInfo](./volume.heatparticlevolumefeaturevectorinfo.md) | 热力向量信息 |
|  [HeatValuesAccumulate](./volume.heatvaluesaccumulate.md) | 热力值累积函数 |
|  [NumberValuesAccumulate](./volume.numbervaluesaccumulate.md) | 数值累积函数 |
|  [ParticleVolumeFeaturePoint](./volume.particlevolumefeaturepoint.md) |  |
|  [ParticleVolumeFeaturePointInfo](./volume.particlevolumefeaturepointinfo.md) |  |
|  [ParticleVolumeFeatureVectorInfo](./volume.particlevolumefeaturevectorinfo.md) |  |
|  [PointsUniforms](./volume.pointsuniforms.md) |  |

