元编程参考文档

地形水体设置

34 个节点

本页内容 34

地形水体设置

函数

此节点没有文档说明。

签名
地形水体设置() -> Terrain Water Settings
TerrainWaterSettings TerrainWaterSettings()

返回

地形水体设置Terrain Water Settings
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

水床深度(米)

函数

The bed the result gives under water is at least this far below the water surface, deepening from the shore over TerrainWaterSettings.BedSlopeMetres; where the ground is already deeper it is kept. A hydro-flattened survey has no bathymetry, and water a few centimetres deep over flat ground reads as a puddle; 0 keeps the ground as it is.

签名
水床深度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double BedDepthMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

水床坡度宽度(米)

函数

Distance from the shore over which the synthetic bed reaches about two thirds of TerrainWaterSettings.BedDepthMetres, metres.

签名
水床坡度宽度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double BedSlopeMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河道集水面积(平方千米)

函数

Catchment at which a channel starts, km², for the height above nearest drainage (HAND, Rennó et al. 2008): every cell's height above the channel cell its water first reaches.

签名
河道集水面积(平方千米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double ChannelCatchmentSquareKilometres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

检测平水面

函数

Find water the survey recorded. Lidar returns from water are discarded and the gap is "hydro-flattened": a lake becomes one exactly level surface, a wide river a run of level steps. A large, level region lying lower than most of its surroundings is water.

签名
检测平水面(Terrain Water Settings: Terrain Water Settings) -> 真否
bool DetectFlatWater(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

填充洼地

函数

Fill closed depressions with water up to the height at which they spill (priority-flood, Barnes et al. 2014): tarns, kettle ponds, pools in a riverbed, and the sinks of closed basins.

签名
填充洼地(Terrain Water Settings: Terrain Water Settings) -> 真否
bool FillDepressions(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

平坦容差(米)

函数

How far a cell may lie from the level of the flat region it joins, metres. Real ground is never this level over a large area; hydro-flattened water is level to the float.

签名
平坦容差(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double FlatToleranceMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

平水面抬升(米)

函数

How far the water surface of flat water sits above the flattened ground, metres, so the water's geometry does not coincide with the terrain's. TerrainWaterSettings.BedDepthMetres gives it a bed below that.

签名
平水面抬升(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double FlatWaterLiftMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

平水面最小围合度

函数

The share of a flat region's rim that must rise above it for it to count as water: a lake or a river lies below its banks, a mesa top or a terrace lies above what surrounds it.

签名
平水面最小围合度(Terrain Water Settings: Terrain Water Settings) -> 数字
double FlatWaterMinimumEnclosure(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

洪水位(米)

函数

Flood every valley floor to this height above its channel, metres, as HAND flood mapping does with a river stage: the water surface is the channel's height plus the stage, and every cell draining to that channel lower than it is under water. Floods every channel at once, side canyons included; 0 floods nothing.

签名
洪水位(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double FloodStageMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

湖泊集水面积比

函数

Catchment a lake needs per square metre of its surface to stay full, the ratio of evaporation from open water to runoff from its catchment: about 2 to 10 in wet mountains, 20 to 100 in semi-arid country, several hundred in a desert. A depression whose catchment falls short stands at the level whose area it can keep wet, or dries out. 0 fills every lake to its spill height regardless.

签名
湖泊集水面积比(Terrain Water Settings: Terrain Water Settings) -> 数字
double LakeCatchmentRatio(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

湖泊填充比例

函数

How full each lake is, as a fraction of its depth from its lowest point to its spill height: 1 is brim-full, as a lake with an outlet stream is; less leaves the lower stand of a closed basin in a dry climate.

签名
湖泊填充比例(Terrain Water Settings: Terrain Water Settings) -> 数字
double LakeFillFraction(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流最大爬升(米)

函数

The highest a reach may climb above the local valley floor to join two crossings, metres. A meandering river can leave the map and come back; the reaches on either side of a meander neck that lies off the map are joined only over the neck, so they stay separate reaches.

签名
河流最大爬升(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double MaximumRiverClimbMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

最小平水面面积(平方米)

函数

The smallest flat region taken as water, m². USGS flattens lakes of 2 acres (8,000 m²) and rivers 30 m wide, so pieces of a flattened river can be small.

签名
最小平水面面积(平方米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double MinimumFlatWaterAreaSquareMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

最小湖泊面积(平方米)

函数

A depression holds a lake only if its water covers at least this much ground, m². Survey noise leaves countless tiny pits; this is what keeps them dry.

签名
最小湖泊面积(平方米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double MinimumLakeAreaSquareMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

最小湖泊深度(米)

函数

A depression holds a lake only if it is at least this deep below its spill height, metres.

签名
最小湖泊深度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double MinimumLakeDepthMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

最小缺口深度(米)

函数

With automatic river ends, the least depth of a border notch below its sides for the river to cross the border through it, metres.

签名
最小缺口深度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double MinimumNotchDepthMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流深度(米)

函数

Water depth over the river's thalweg, metres. The surface never rises downstream, so pools upstream of a riffle fill to the riffle's level and run deeper. Where the thalweg crosses flat water the survey recorded, the recorded surface is used instead, so on hydro-flattened data the depth only matters between flattened pieces and a small value suits it.

签名
河流深度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverDepthMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流入口 U

函数

Where the river enters, as a fraction of the map's width (columns) and depth (rows), 0..1. NaN, here or in the exit, finds the crossings in the border instead: every notch at least TerrainWaterSettings.MinimumNotchDepthMetres deep whose floor lies within TerrainWaterSettings.RiverFallMetres of the lowest one.

签名
河流入口 U(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverEntryU(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流入口 V

函数

此节点没有文档说明。

签名
河流入口 V(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverEntryV(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流出口 U

函数

Where the river leaves, as a fraction of the map's width and depth, 0..1. With the entry given, the river runs between the two whatever lies between them.

签名
河流出口 U(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverExitU(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流出口 V

函数

此节点没有文档说明。

签名
河流出口 V(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverExitV(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流落差(米)

函数

How far the river falls across the map, metres: border notches whose floor lies higher than this above the lowest notch are side valleys, not the river.

签名
河流落差(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverFallMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河流最大半宽(米)

函数

How far the river spreads from its thalweg over ground below its surface, metres. Bounds a flood across a wide flat floodplain; it should be wider than the river, because the thalweg can hug one bank and where the limit rather than a bank stops the water, its edge stands above the ground.

签名
河流最大半宽(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverMaximumHalfWidthMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河面平滑半径(米)

函数

How far the river's surface is averaged over its own water, metres, 0 for not at all. Spreading from the thalweg gives each cell the level of the thalweg cell nearest it, a fan of level wedges a few centimetres apart around every bend, and a renderer shades every step as a line across the water; averaging makes the surface continuous. Two reaches nearer than about twice this across dry ground average into each other.

签名
河面平滑半径(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double RiverSurfaceSmoothingMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

仅从边界连通海水

函数

Only ground below sea level that connects to the map's border is sea; inland ground below it, as in a polder or the Dead Sea's basin, stays dry unless a lake fills it.

签名
仅从边界连通海水(Terrain Water Settings: Terrain Water Settings) -> 真否
bool SeaFromBorderOnly(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

海平面(米)

函数

Sea level, metres. Ground below it is sea. NaN has no sea.

签名
海平面(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double SeaLevel(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

岸线柔化宽度(米)

函数

The water mask falls from 1 to 0 over this distance across the shoreline, metres.

签名
岸线柔化宽度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double ShoreSoftnessMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

过境河流

函数

A river crossing the map, fed from off it: the cheapest paths along the valley floor between the places it crosses the map's border, filled to TerrainWaterSettings.RiverDepthMetres. This is what a canyon or a large valley cut out of a landscape needs; its river carries a catchment that lies off the map, so drainage on the map cannot find it.

签名
过境河流(Terrain Water Settings: Terrain Water Settings) -> 真否
bool ThroughRiver(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

谷底高度(米)

函数

Height above drainage at which the valley-floor mask has fallen to 0, metres.

签名
谷底高度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double ValleyFloorHeightMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河谷半径(米)

函数

Radius of the window whose lowest point is the local valley floor, metres. The path's cost rises with height above that floor; the window must be wider than the valley floor and narrower than the spurs between meanders.

签名
河谷半径(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double ValleyRadiusMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

河谷容差(米)

函数

Height above the local valley floor that multiplies the path's cost by e, metres. Small values hold the path to the thalweg; larger ones let it cut across bars.

签名
河谷容差(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double ValleyToleranceMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

湿润河岸距离(米)

函数

The wet-bank mask is 0 this far from the water, metres.

签名
湿润河岸距离(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double WetBankDistanceMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成

湿润河岸高度(米)

函数

The wet-bank mask is 0 this high above the nearby water surface, metres: the height splash, seepage and floods keep wet.

签名
湿润河岸高度(米)(Terrain Water Settings: Terrain Water Settings) -> 数字
double WetBankHeightMetres(TerrainWaterSettings Terrain Water Settings)

参数

名称类型默认值说明
Terrain Water SettingsTerrain Water Settings—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形水体设置
所属包
程序化生成