地貌
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 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 地貌
- 所屬包
- 程序化生成