UNPKG

@three3d/volume

Version:

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

27 lines (15 loc) 788 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/volume](./volume.md) &gt; [createGradientData3DTexture](./volume.creategradientdata3dtexture.md) ## createGradientData3DTexture() function 创建梯度 Data3DTexture **Signature:** ```typescript export declare function createGradientData3DTexture(data3D: IData3D, options?: CreateGradientData3DTextureOptions): GradientData3DTexture; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | data3D | IData3D | 3D数据 | | options | [CreateGradientData3DTextureOptions](./volume.creategradientdata3dtextureoptions.md) | _(Optional)_ 选项 | **Returns:** [GradientData3DTexture](./volume.gradientdata3dtexture.md)