@three3d/volume
Version:
@three3d/volume 提供了 ThreeJS 的云效果,包括:点状云、线状云、热力云
40 lines (25 loc) • 1.42 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/volume](./volume.md) > [GradientData3DTexture](./volume.gradientdata3dtexture.md)
## GradientData3DTexture class
3D数据纹理
**Signature:**
```typescript
export declare class GradientData3DTexture extends Data3DTexture
```
**Extends:** Data3DTexture
## Remarks
专门用于 的纹理对象 提供了一些与 约定的设置 和 一些便利方法
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(data, width, height, depth, type)](./volume.gradientdata3dtexture._constructor_.md) | | Constructs a new instance of the <code>GradientData3DTexture</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [isGradientData3DTexture](./volume.gradientdata3dtexture.isgradientdata3dtexture.md) | <code>readonly</code> | (not declared) | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [getData3DSlice(axis, depth)](./volume.gradientdata3dtexture.getdata3dslice.md) | | 获取3D数据的切片 |
| [getItem(coord)](./volume.gradientdata3dtexture.getitem.md) | | 获取3D数据中指定坐标处的数据项目 |
| [getValue(coord)](./volume.gradientdata3dtexture.getvalue.md) | | 获取3D数据中指定坐标处的值 |