Skip to content

Commit

Permalink
Merge pull request #32 from YiGu-Studio/docs-translate-Terrain-Resize
Browse files Browse the repository at this point in the history
translate terrain_resize.md
  • Loading branch information
OzgurEraslan authored Oct 15, 2020
2 parents c7c1533 + 8bd9bac commit f212a30
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/content/schinese/Editor/Scene Editor/terrain_resize.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
+++
title = "Resizing Terrain"
title = "调整地形大小"

[menu.main]
identifier = "terrain_resize"
parent = "core_components"
+++

## Resizing Terrain
If required, terrain node count can be resized at <b>Resize Terrain</b> panel in <b>Terrain Inspector</b>.
## 调整地形大小

如果需要,地形节点数量可以在 <b>Terrain Inspector</b> 的 <b>Resize Terrain</b> 面板调整。

![](/img/terrain_resize/resize_panel.PNG)

* There are 4 direction that you can add new nodes, or remove existing nodes. +X, +Y, -X, -Y (South, East, North, West, respectively) (Coloring is consistent with Gizmo). \\
* Adding or removing nodes will automatically relocate existing entities and floras to their new locations. New nodes will have their height data unspecified, and may look unconnected to the rest of the terrain. Artist can (and should) easily fix this using in-editor height brushes, or can export the height map and modify using an external height map generation tool and then import back to the editor.\\
* Using positive values to a side will append that much new nodes to that side. If you write +2 to each side, terrain will expand by 2 nodes on each side. If you write 3 only to +X, and 0 (zero) to rest, terrain will expand by 3 nodes only on +X direction.\\
* If you write a negative value to a side, it will remove that much nodes from that side. \\
* If you write 0 (zero) to a side, there will be no modifications on that side. (default value)
* 你可以从 4 个方向添加新的节点或移除已有的节点。+X, +Y, -X, -Y(分别是南,东,北,西)(上色和 Gizmo 一致)
* 添加和移除节点会自动重新在新的位置分配现存的实体 (entities) 和植物 (floras)。新的节点由于他们的高度信息还未定义,可能会显得无法和其他地形连接。设计者应该可以用编辑器内置的高度笔刷 (Height Brushes) 来修改,或者导出高度图在其他高度图生成软件中修改,之后在导入回编辑器中。
* 如果在地形的一边输入正数,那么地形像那一边扩展那么多的节点。如果你往每一边写了 +2,那么地形就会像每一边扩展 2 格。如果你写了 +3 在 +X 方向,其他方向为 0 那么地形只会往 +X 方向扩展 3 格。
* 如果你输入一个负数,那么将会减少相应的节点数。
* 如果你输入 0(默认值),那么将不会有改变。

| Adding | Deleting |
| 添加 | 删除 |
| ------------ | ------------ |
| ![](/img/terrain_resize/append.PNG) | ![](/img/terrain_resize/delete.PNG) |

0 comments on commit f212a30

Please sign in to comment.