# 路径

## 概览

路径图层根据 World Creator 中设置的自定义路径修改地形。此功能可用于构建各种结构，如山脉、山谷、河流或街道。

<div><figure><img src="/files/b1087cc44e74249b774fd437f4131f076b1230b8" alt=""><figcaption><p>修建道路</p></figcaption></figure> <figure><img src="/files/2d6cb351e90d99f9dd33edc957e87ab6c2205ddb" alt=""><figcaption><p>最终地形</p></figcaption></figure></div>

## 视频指南

{% embed url="<https://vimeo.com/1029700055>" %}
World Creator 指南
{% endembed %}

## 快捷键

| 一次影响所有节点 | （SHIFT）                 |
| -------- | ----------------------- |
| 添加节点     | Shift + 左键              |
| 移动/缩放节点  | （SHIFT） + 左键 + 拖动       |
| 删除节点     | (SHIFT) + CTRL + 拖动     |
| 改变高度     | （SHIFT） + ALT + 左键 + 拖动 |
| 旋转路径     | R + 左键 + 拖动             |

## 参数

### 路径设置

* **宽度**\
  基础宽度会乘以每个控制点的宽度。如果整体宽度为 0，单个点的宽度也不能超过 0。

* **衰减**\
  路径的衰减。这会被添加到路径宽度中。

* **衰减曲线**\
  衰减陡峭度。

* **噪声强度**\
  噪声会被添加到路径宽度中。

* **噪声缩放**\
  调整沿路径长度的噪声缩放。

* **闭合**\
  启用后将连接第一个和最后一个控制点。

* **高度偏移**\
  将整个路径向上或向下移动。

* **展平**\
  将所有控制点的高度平整化。

### 过程化宽度

过程化宽度参数允许您在设定的宽度范围内自动设置节点宽度。

* **范围**\
  设置节点宽度的范围。

* **模式**\
  允许您从多种类型中选择，如上升、下降、之字形或随机分布。

### 样条导出（Spline Export）

* 导出样条\
  允许您导出样条以在渲染引擎中使用。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.world-creator.com/zh/can-kao/terrain/shape-layers/path.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
