@three3d/volume
Version:
@three3d/volume 提供了 ThreeJS 的云效果,包括:点状云、线状云、热力云
28 lines (19 loc) • 1.13 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/volume](./volume.md) > [GradientParams](./volume.gradientparams.md)
## GradientParams interface
梯度函数的参数
**Signature:**
```typescript
export interface GradientParams
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [clim](./volume.gradientparams.clim.md) | | IVector2 | 值的范围 |
| [distance](./volume.gradientparams.distance.md) | | number | 当前点与其所属中心点的距离 |
| [hollow](./volume.gradientparams.hollow.md) | | number | 当前中心点空心比率 |
| [hollowRadius](./volume.gradientparams.hollowradius.md) | | number | 根据空间比率计算的空心半径 |
| [point](./volume.gradientparams.point.md) | | Vector3 | 当前点的坐标 |
| [radius](./volume.gradientparams.radius.md) | | number | 当前中心点的半径 |
| [ratio](./volume.gradientparams.ratio.md) | | number | 梯度的变化比率 |
| [value](./volume.gradientparams.value.md) | | number | 值 |