元编程参考文档

地貌

9 个节点

本页内容 9

说明

函数

What went into it, a line for each step: its size, the erosion, the water.

签名
说明(Landscape: Landscape) -> 文本
string Description(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

散布

函数

The trees, shrubs and rocks placed on it; null when it has none.

签名
散布(Landscape: Landscape) -> Terrain Population
TerrainPopulation Population(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

风格

函数

The kind of landscape it was made as.

签名
风格(Landscape: Landscape) -> Landscape Style
LandscapeStyle Style(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

太阳高度角

函数

The sun's height above the horizon, degrees.

签名
太阳高度角(Landscape: Landscape) -> 数字
double SunAltitude(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

太阳方位角

函数

The sun's compass bearing, degrees clockwise from north.

签名
太阳方位角(Landscape: Landscape) -> 数字
double SunBearing(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

表面

函数

The baked surface: colour, normal, roughness and height maps.

签名
表面(Landscape: Landscape) -> Baked Terrain Surface
BakedTerrainSurface Surface(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

地形

函数

Heights in metres, as the landscape is drawn: worn by erosion where that was asked for, with beds cut under the water.

签名
地形(Landscape: Landscape) -> Scalar Field
ScalarField2D Terrain(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

水面

函数

The water's surface in metres, NaN on dry ground; null when it has none.

签名
水面(Landscape: Landscape) -> Scalar Field
ScalarField2D Water(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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

水的外观

函数

How the water looks.

签名
水的外观(Landscape: Landscape) -> Terrain Water Look
TerrainWaterLook WaterLook(Landscape Landscape)

参数

名称类型默认值说明
LandscapeLandscape—

返回

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