# Interface PathConfig

路径配置

interface PathConfig {
color?: number;
enabled?: boolean;
enablePathline?: boolean;
enableSubMesh?: boolean;
id: string;
lineWidth?: number;
points: Vector3[];
range?: number;
speed?: number;
subMeshColor?: number;
subMeshOpacity?: number;
subMeshWidth?: number;
visible?: boolean;
}

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

##### Index

### Properties

color?
enabled?
enablePathline?
enableSubMesh?
id
lineWidth?
points
range?
speed?
subMeshColor?
subMeshOpacity?
subMeshWidth?
visible?

## Properties

### `Optional` color

color?: number

线条颜色（可选，覆盖全局配置）

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

### `Optional` enabled

enabled?: boolean

是否启用

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

### `Optional` enablePathline

enablePathline?: boolean

是否启用路径线和粒子效果（可选，默认 true）

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

### `Optional` enableSubMesh

enableSubMesh?: boolean

是否启用子网格（可选，默认 true）

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

### id

id: string

路径唯一标识

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

### `Optional` lineWidth

lineWidth?: number

线宽（可选，覆盖全局配置）

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

### points

points: Vector3[]

路径点

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

### `Optional` range

range?: number

流光范围（可选，覆盖全局配置，单位：米，默认 5.0）

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

### `Optional` speed

speed?: number

流光速度（可选，覆盖全局配置，单位：米/秒）

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

### `Optional` subMeshColor

subMeshColor?: number

子网格颜色（可选，覆盖全局配置）

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

### `Optional` subMeshOpacity

subMeshOpacity?: number

子网格透明度（可选，覆盖全局配置）

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

### `Optional` subMeshWidth

subMeshWidth?: number

子网格宽度（可选，覆盖全局配置）

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

### `Optional` visible

visible?: boolean

是否可见

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