<!-- 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)


