地貌
8 个节点
本页内容 8
组装地貌
函数由其他节点做好的部分组成地貌:地形、其烘焙表面和水面。
签名
组装地貌 -> Landscape
地形: Scalar Field
表面: Baked Terrain Surface
水面: Scalar Field
水的外观: Water Look KindLandscape AssembleLandscape(
ScalarField2D terrain,
BakedTerrainSurface surface,
ScalarField2D water,
WaterLookKind waterLook = WaterLookKind.Clear)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地形 | Scalar Field | — | Heights in metres as they are to be drawn. |
| 表面 | Baked Terrain Surface | — | Bake Terrain Surface's or Bake Layer Stack's result for this terrain. |
| 水面 | Scalar Field | — | The water's surface in metres, NaN on dry ground. |
| 水的外观 | Water Look Kind | 清澈 | How the water looks. |
返回
| 地貌 | Landscape |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
侵蚀分析贴图
函数侵蚀与注水留下、供自然风格铺设调色板的贴图:崩落岩石、沉积、磨蚀、水面与湿润岸地。
签名
侵蚀分析贴图 -> Terrain Analysis Maps
侵蚀: Terrain Erosion Result
水体: Terrain Water ResultTerrainAnalysisMaps ErosionAnalysisMaps(
TerrainErosionResult erosion,
TerrainWaterResult water)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 侵蚀 | Terrain Erosion Result | — | Erode Terrain's result. |
| 水体 | Terrain Water Result | — | Terrain Water's Fill result. |
返回
| 分析贴图 | Terrain Analysis Maps |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
地貌调色板
函数某种风格的材质。
签名
地貌调色板(风格: Landscape Style) -> Terrain Palette
TerrainPalette LandscapePalette(LandscapeStyle style = LandscapeStyle.Alpine)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 风格 | Landscape Style | 高山 | The kind of landscape. |
返回
| 调色板 | Terrain Palette |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
地貌物种
函数某种风格的物种——生成地貌所放置的——可修改后交给散布地貌或散布地形。
签名
地貌物种 -> Population Species 数组
风格: Landscape Style
地形: Scalar FieldPopulationSpecies[] LandscapeSpecies(
LandscapeStyle style,
ScalarField2D terrain)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 风格 | Landscape Style | — | The kind of landscape. |
| 地形 | Scalar Field | — | The terrain they are for: the treeline and snow line follow its relief. |
返回
| 物种 | Population Species 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
地貌水体
函数按某种风格的气候注水:每个洼地注到将要溢出的高度,前提是它汇集的地面足以让它保持充满——荒漠中要三百倍于自身面积,山地中五倍——以及测量中记录的平静水面。
签名
地貌水体 -> Terrain Water Result
地形: Scalar Field
风格: Landscape Style
贯穿河流: 真否TerrainWaterResult LandscapeWater(
ScalarField2D terrain,
LandscapeStyle style = LandscapeStyle.Alpine,
bool riverThrough = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地形 | Scalar Field | — | Heights in metres, with their metres per cell. |
| 风格 | Landscape Style | 高山 | The kind of landscape, whose climate decides how much water stays. |
| 贯穿河流 | 真否 | False | Run a river in and out through the terrain's two deepest notches in its border, along the valley floor between them. |
返回
| 水体 | Terrain Water Result |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
生成地貌
函数一步由高度场得到完整的地貌:经过侵蚀、注水、按风格的材质铺设并烘焙,可直接交给“渲染地貌”或网格查看器。
签名
生成地貌 -> Landscape
地形: Scalar Field
风格: Landscape Style
烘焙尺寸: 整数
侵蚀: 真否
水体: 真否
贯穿河流: 真否
水的外观: Water Look Kind
散布植被: 真否Landscape MakeLandscape(
ScalarField2D terrain,
LandscapeStyle style = LandscapeStyle.Alpine,
int bakeSize = 2048,
bool erosion = true,
bool water = true,
bool riverThrough = false,
WaterLookKind waterLook = WaterLookKind.Automatic,
bool population = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地形 | Scalar Field | — | Heights in metres, with their metres per cell: from Fetch Real Terrain, Load Heightmap or a generator. |
| 风格 | Landscape Style | 高山 | The kind of landscape. |
| 烘焙尺寸 | 整数 | 2048 | Pixels across the surface maps. |
| 侵蚀 | 真否 | True | Wear the terrain by water and gravity first: its maps lay the fallen rock and the sediment. Dunes and lava are never eroded: wind made the one, and the other is too young. |
| 水体 | 真否 | True | Fill the lakes the land holds. |
| 贯穿河流 | 真否 | False | Run a river in and out through the terrain's two deepest notches in its border, along the valley floor between them, as a river crosses a map cut from a larger land. |
| 水的外观 | Water Look Kind | 自动 | How the water looks; Automatic takes the style's. |
| 散布植被 | 真否 | True | Place the style's trees, shrubs and rocks: forest below the treeline, scrub on the desert flats, rock fallen below the walls. |
返回
| 地貌 | Landscape |
备注
A 3 km terrain at a metre a cell takes a minute or two: most of it erosion and the bake. Turn erosion off for a terrain already eroded, and bake smaller to try things out.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
散布地貌
函数同一地貌,放上东西:给出的物种,或未给出时该风格自己的物种——林线以下的森林、荒漠平地上的灌丛、崖下崩落的岩石。原有的散布会被替换。
签名
散布地貌 -> Landscape
地貌: Landscape
物种: Population Species 数组
种子: 整数Landscape PopulateLandscape(
Landscape landscape,
PopulationSpecies[] species,
int seed = 1337)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地貌 | Landscape | — | The landscape. |
| 物种 | Population Species 数组 | — | What to place, the first placed first; the style's own when left out. |
| 种子 | 整数 | 1337 | Where the random draws start: another seed, another wood. |
返回
| 地貌 | Landscape |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成
设置地貌太阳
函数同一地貌,换一个太阳照明。
签名
设置地貌太阳 -> Landscape
地貌: Landscape
方位角: 数字
高度角: 数字Landscape SetSun(
Landscape landscape,
double bearing = 247,
double altitude = 28)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地貌 | Landscape | — | The landscape. |
| 方位角 | 数字 | 247 | The sun's compass bearing, degrees clockwise from north. |
| 高度角 | 数字 | 28 | The sun's height above the horizon, degrees. |
返回
| 地貌 | Landscape |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地貌
- 所属包
- 程序化生成