# Interface Config

插件配置

interface Config {
color?: number;
lineCount?: number;
lineWidth?: number;
lineYOffset?: number;
maxDistance?: number;
particleCount?: number;
range?: number;
spacing?: number;
speed?: number;
subMeshColor?: number;
subMeshHighlightWidth?: number;
subMeshMaxOpacity?: number;
subMeshOpacity?: number;
subMeshSegmentInterval?: number;
subMeshWidth?: number;
waveAmp?: number;
waveFreq?: number;
}

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:59

##### Index

### Properties

color?
lineCount?
lineWidth?
lineYOffset?
maxDistance?
particleCount?
range?
spacing?
speed?
subMeshColor?
subMeshHighlightWidth?
subMeshMaxOpacity?
subMeshOpacity?
subMeshSegmentInterval?
subMeshWidth?
waveAmp?
waveFreq?

## Properties

### `Optional` color

color?: number

线条颜色

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:67

### `Optional` lineCount

lineCount?: number

线条数量

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:61

### `Optional` lineWidth

lineWidth?: number

线宽

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:65

### `Optional` lineYOffset

lineYOffset?: number

pathline Y 轴偏移（相对于 subMesh 向上偏移）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:81

### `Optional` maxDistance

maxDistance?: number

粒子最大飘散距离

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:79

### `Optional` particleCount

particleCount?: number

粒子数量

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:77

### `Optional` range

range?: number

流光过渡范围（单位：米，默认 5.0）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:71

### `Optional` spacing

spacing?: number

线条间距

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:63

### `Optional` speed

speed?: number

流光速度（单位距离/秒，值越大速度越快）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:69

### `Optional` subMeshColor

subMeshColor?: number

子网格底色

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:85

### `Optional` subMeshHighlightWidth

subMeshHighlightWidth?: number

子网格流光高亮带宽度（单位：米，默认 1.5）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:93

### `Optional` subMeshMaxOpacity

subMeshMaxOpacity?: number

子网格最大透明度（流光中心的透明度，默认 1.0）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:89

### `Optional` subMeshOpacity

subMeshOpacity?: number

子网格基础透明度（最小透明度）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:87

### `Optional` subMeshSegmentInterval

subMeshSegmentInterval?: number

子网格流光分段间隔（单位：米，默认 3.0）

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:91

### `Optional` subMeshWidth

subMeshWidth?: number

子网格宽度

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:83

### `Optional` waveAmp

waveAmp?: number

波动幅度

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:73

### `Optional` waveFreq

waveFreq?: number

波动频率

- Defined in lib/plugins/DynamicPathLinePlugin/typing.ts:75