105 lines
2.6 KiB
Markdown
105 lines
2.6 KiB
Markdown
---
|
||
outline: [2, 3]
|
||
---
|
||
|
||
# VolumeNode
|
||
|
||
- 源文件:`packages/sdk/src/effect/volume/VolumeNode.ts`
|
||
- 文档位置:`packages/docs/api/effect/volume/VolumeNode.md`
|
||
|
||
## 接口:`IVoxelMaterialOptions`
|
||
|
||
- 作用:IVoxelMaterialOptions 的结构定义。
|
||
|
||
### 定义
|
||
|
||
```ts
|
||
export interface IVoxelMaterialOptions {
|
||
readonly colorTexture: NodeElements;
|
||
readonly texture: NodeElements;
|
||
readonly range: NodeElements;
|
||
readonly threshold: NodeElements;
|
||
readonly opacity: NodeElements;
|
||
readonly steps: NodeElements;
|
||
readonly useSmoothing: NodeElements;
|
||
readonly mode: NodeElements;
|
||
readonly clipMode: NodeElements;
|
||
readonly clipPlane: NodeElements;
|
||
readonly clipPlaneX: NodeElements;
|
||
readonly clipPlaneY: NodeElements;
|
||
readonly clipPlaneZ: NodeElements;
|
||
|
||
readonly [key: string]: unknown;
|
||
}
|
||
```
|
||
|
||
## 接口:`IEmissionAbsorptionModelOptions`
|
||
|
||
- 作用:IEmissionAbsorptionModelOptions 的结构定义。
|
||
|
||
### 定义
|
||
|
||
```ts
|
||
export interface IEmissionAbsorptionModelOptions {
|
||
readonly colorTexture: NodeElements;
|
||
readonly texture: NodeElements;
|
||
readonly range: NodeElements;
|
||
readonly threshold: NodeElements;
|
||
readonly opacity: NodeElements;
|
||
readonly steps: NodeElements;
|
||
readonly useSmoothing: NodeElements;
|
||
readonly clipMode: NodeElements;
|
||
readonly clipPlane: NodeElements;
|
||
readonly clipPlaneX: NodeElements;
|
||
readonly clipPlaneY: NodeElements;
|
||
readonly clipPlaneZ: NodeElements;
|
||
|
||
readonly [key: string]: unknown;
|
||
}
|
||
```
|
||
|
||
## 接口:`IMaximumIntensityProjectionOptions`
|
||
|
||
- 作用:IMaximumIntensityProjectionOptions 的结构定义。
|
||
|
||
### 定义
|
||
|
||
```ts
|
||
export interface IMaximumIntensityProjectionOptions {
|
||
readonly colorTexture: NodeElements;
|
||
readonly texture: NodeElements;
|
||
readonly opacity: NodeElements;
|
||
readonly steps: NodeElements;
|
||
readonly clipMode: NodeElements;
|
||
readonly clipPlane: NodeElements;
|
||
readonly clipPlaneX: NodeElements;
|
||
readonly clipPlaneY: NodeElements;
|
||
readonly clipPlaneZ: NodeElements;
|
||
|
||
readonly [key: string]: unknown;
|
||
}
|
||
```
|
||
|
||
## 接口:`IMinimumIntensityProjectionOptions`
|
||
|
||
- 作用:IMinimumIntensityProjectionOptions 的结构定义。
|
||
|
||
### 定义
|
||
|
||
```ts
|
||
export interface IMinimumIntensityProjectionOptions {
|
||
readonly colorTexture: NodeElements;
|
||
readonly texture: NodeElements;
|
||
readonly opacity: NodeElements;
|
||
readonly steps: NodeElements;
|
||
readonly clipMode: NodeElements;
|
||
readonly clipPlane: NodeElements;
|
||
readonly clipPlaneX: NodeElements;
|
||
readonly clipPlaneY: NodeElements;
|
||
readonly clipPlaneZ: NodeElements;
|
||
|
||
readonly [key: string]: unknown;
|
||
}
|
||
```
|
||
|