@three3d/volume
Version:
@three3d/volume 提供了 ThreeJS 的云效果,包括:点状云、线状云、热力云
21 lines (11 loc) • 766 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/volume](./volume.md) > [CreateGradientData3DTextureOptions](./volume.creategradientdata3dtextureoptions.md) > [voidValue](./volume.creategradientdata3dtextureoptions.voidvalue.md)
## CreateGradientData3DTextureOptions.voidValue property
表示为空的值
**Signature:**
```typescript
voidValue?: number;
```
## Remarks
在转换时 IData3D 时,当遇到值为 undefined 或 null 的值时,就会使 voidValue 来替换;
IData3D 中,可以通过 undefined 或 null 来表示空,但在将 IData3D 转为 Data3DTexture 时,所有的item都必须是数字,所以这时就需要为空约定一个数字;