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

Per-cell diagnostic outputs produced by an erosion stage. 更多...

#include <TerrainPipeline.h>

Public 成员函数

int getWidth () const
 Return the map width.
 
int getHeight () const
 Return the map height.
 
float getWear (int x, int y) const
 Sample gross erosion, or zero outside the map.
 
float getDeposition (int x, int y) const
 Sample deposited material, or zero outside the map.
 
float getHeightDelta (int x, int y) const
 Sample final-minus-initial elevation, or zero outside the map.
 

Public 属性

int width = 0
 
int height = 0
 
std::vector< float > wear
 Gross material removed, in heightmap units.
 
std::vector< float > deposition
 Material deposited after transport, in heightmap units.
 
std::vector< float > heightDelta
 Final minus initial elevation; negative means net erosion.
 

详细描述

Per-cell diagnostic outputs produced by an erosion stage.

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

成员函数说明

◆ getDeposition()

float eve::procgen::TerrainErosionMap::getDeposition ( int  x,
int  y 
) const

Sample deposited material, or zero outside the map.

在文件 TerrainPipeline.cpp 第 81 行定义.

引用了 deposition, height, width, x , 以及 y.

◆ getHeight()

int eve::procgen::TerrainErosionMap::getHeight ( ) const
inline

Return the map height.

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

引用了 height.

◆ getHeightDelta()

float eve::procgen::TerrainErosionMap::getHeightDelta ( int  x,
int  y 
) const

Sample final-minus-initial elevation, or zero outside the map.

在文件 TerrainPipeline.cpp 第 84 行定义.

引用了 height, heightDelta, width, x , 以及 y.

◆ getWear()

float eve::procgen::TerrainErosionMap::getWear ( int  x,
int  y 
) const

Sample gross erosion, or zero outside the map.

在文件 TerrainPipeline.cpp 第 78 行定义.

引用了 height, wear, width, x , 以及 y.

◆ getWidth()

int eve::procgen::TerrainErosionMap::getWidth ( ) const
inline

Return the map width.

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

引用了 width.

类成员变量说明

◆ deposition

std::vector<float> eve::procgen::TerrainErosionMap::deposition

Material deposited after transport, in heightmap units.

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

被这些函数引用 eve::procgen::TerrainPipeline::erodeFluvialDetailed() , 以及 getDeposition().

◆ height

int eve::procgen::TerrainErosionMap::height = 0

◆ heightDelta

std::vector<float> eve::procgen::TerrainErosionMap::heightDelta

Final minus initial elevation; negative means net erosion.

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

被这些函数引用 eve::procgen::TerrainPipeline::erodeFluvialDetailed() , 以及 getHeightDelta().

◆ wear

std::vector<float> eve::procgen::TerrainErosionMap::wear

Gross material removed, in heightmap units.

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

被这些函数引用 eve::procgen::TerrainPipeline::erodeFluvialDetailed() , 以及 getWear().

◆ width

int eve::procgen::TerrainErosionMap::width = 0

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