载入中...
搜索中...
未找到
eve::procgen::HydrologyMap结构体 参考

HydrologyMap public API. 更多...

#include <TerrainPipeline.h>

Public 属性

int width = 0
 
int height = 0
 
std::vector< int8_t > flowDirection
 D8 neighbour index, or -1 for a sink.
 
std::vector< float > flowVectorX
 
std::vector< float > flowVectorY
 Normalized continuous downslope direction.
 
std::vector< float > flowAccumulation
 
std::vector< float > lakeDepth
 Priority-Flood water depth; zero on drained terrain.
 
std::vector< uint8_t > rivers
 
std::vector< uint8_t > streamOrder
 Strahler order; zero outside the resolved river network.
 

详细描述

HydrologyMap public API.

在文件 TerrainPipeline.h 第 41 行定义.

类成员变量说明

◆ flowAccumulation

◆ flowDirection

std::vector<int8_t> eve::procgen::HydrologyMap::flowDirection

D8 neighbour index, or -1 for a sink.

在文件 TerrainPipeline.h 第 43 行定义.

被这些函数引用 eve::procgen::TerrainAsset::bake(), eve::procgen::TerrainPipeline::erodeFluvialDetailed() , 以及 eve::procgen::TerrainLayers::getFlowDirection().

◆ flowVectorX

std::vector<float> eve::procgen::HydrologyMap::flowVectorX

◆ flowVectorY

std::vector<float> eve::procgen::HydrologyMap::flowVectorY

Normalized continuous downslope direction.

在文件 TerrainPipeline.h 第 44 行定义.

被这些函数引用 eve::procgen::TerrainAsset::bake(), eve::procgen::TerrainPipeline::erodeFluvialDetailed() , 以及 eve::procgen::TerrainLayers::getFlowVectorY().

◆ height

int eve::procgen::HydrologyMap::height = 0

在文件 TerrainPipeline.h 第 42 行定义.

被这些函数引用 eve::procgen::TerrainAsset::bake() , 以及 eve::procgen::TerrainLayers::getHeight().

◆ lakeDepth

std::vector<float> eve::procgen::HydrologyMap::lakeDepth

◆ rivers

std::vector<uint8_t> eve::procgen::HydrologyMap::rivers

◆ streamOrder

std::vector<uint8_t> eve::procgen::HydrologyMap::streamOrder

Strahler order; zero outside the resolved river network.

在文件 TerrainPipeline.h 第 48 行定义.

被这些函数引用 eve::procgen::TerrainAsset::bake() , 以及 eve::procgen::TerrainLayers::getStreamOrder().

◆ width

int eve::procgen::HydrologyMap::width = 0

该结构体的文档由以下文件生成: