deep-engine-demo/packages/docs/api/effect/volume/VolumeNode.md
2026-04-19 18:46:28 +08:00

105 lines
2.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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;
}
```