Value configuration for a rectangular stamp in world X/Z coordinates. 更多...
#include <TerrainStamp.h>
Public 属性 | |
| double | originX = 0 |
| double | originZ = 0 |
| double | spacingX = 1 |
| double | spacingZ = 1 |
| double | centerX = 0 |
| double | centerZ = 0 |
| double | width = 1 |
| double | depth = 1 |
| double | rotation = 0 |
| float | amplitude = 1 |
| float | baseHeight = 0 |
| float | blendStrength = 0.5F |
| TerrainStampOperation | operation = TerrainStampOperation::Raise |
详细描述
Value configuration for a rectangular stamp in world X/Z coordinates.
Terrain sample (x,y) is at (originX+x*spacingX, originZ+y*spacingZ). Stamp width/depth span its first and last texel. Positive rotation is counterclockwise in the X/Z plane; radians. No time or randomness is used. Heights are finite, unbounded world heights, not normalized/packed values.
在文件 TerrainStamp.h 第 22 行定义.
类成员变量说明
◆ amplitude
| float eve::procgen::TerrainStampSettings::amplitude = 1 |
在文件 TerrainStamp.h 第 27 行定义.
◆ baseHeight
| float eve::procgen::TerrainStampSettings::baseHeight = 0 |
在文件 TerrainStamp.h 第 27 行定义.
◆ blendStrength
| float eve::procgen::TerrainStampSettings::blendStrength = 0.5F |
在文件 TerrainStamp.h 第 28 行定义.
◆ centerX
| double eve::procgen::TerrainStampSettings::centerX = 0 |
在文件 TerrainStamp.h 第 25 行定义.
◆ centerZ
| double eve::procgen::TerrainStampSettings::centerZ = 0 |
在文件 TerrainStamp.h 第 25 行定义.
◆ depth
| double eve::procgen::TerrainStampSettings::depth = 1 |
在文件 TerrainStamp.h 第 26 行定义.
◆ operation
| TerrainStampOperation eve::procgen::TerrainStampSettings::operation = TerrainStampOperation::Raise |
在文件 TerrainStamp.h 第 29 行定义.
◆ originX
| double eve::procgen::TerrainStampSettings::originX = 0 |
在文件 TerrainStamp.h 第 23 行定义.
被这些函数引用 eve::procgen::applyTerrainStampMultiTile() , 以及 eve::procgen::PcgRuntimeStamper::execute().
◆ originZ
| double eve::procgen::TerrainStampSettings::originZ = 0 |
在文件 TerrainStamp.h 第 23 行定义.
◆ rotation
| double eve::procgen::TerrainStampSettings::rotation = 0 |
在文件 TerrainStamp.h 第 26 行定义.
◆ spacingX
| double eve::procgen::TerrainStampSettings::spacingX = 1 |
在文件 TerrainStamp.h 第 24 行定义.
◆ spacingZ
| double eve::procgen::TerrainStampSettings::spacingZ = 1 |
在文件 TerrainStamp.h 第 24 行定义.
◆ width
| double eve::procgen::TerrainStampSettings::width = 1 |
在文件 TerrainStamp.h 第 26 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/heightmap/TerrainStamp.h