载入中...
搜索中...
未找到
TerrainStamp.h 文件参考
#include "common/Result.h"

浏览源代码.

类

struct  eve::procgen::TerrainStampSettings
 Value configuration for a rectangular stamp in world X/Z coordinates. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

枚举

enum class  eve::procgen::TerrainMaskBlend {
  eve::procgen::Multiply , eve::procgen::Maximum , eve::procgen::Minimum , eve::procgen::Add ,
  eve::procgen::Subtract
}
 Ordered scalar-mask arithmetic; intermediate values are not clamped. 更多...
 
enum class  eve::procgen::TerrainStampOperation {
  eve::procgen::Raise , eve::procgen::Lower , eve::procgen::Blend , eve::procgen::Set ,
  eve::procgen::Add , eve::procgen::Subtract
}
 Native height operations, in terrain height units (not Unity packed heights). 更多...
 

函数

Result< int > eve::procgen::blendTerrainMask (Heightmap &target, const Heightmap &source, TerrainMaskBlend mode, float strength=1, bool invert=false)
 Blend one scalar raster into an existing mask stack, in call order.
 
Result< int > eve::procgen::applyTerrainStamp (Heightmap &target, const Heightmap &stamp, const TerrainStampSettings &settings, const Heightmap &localMask, const Heightmap &globalMask)
 Apply a rotated, bilinearly sampled stamp; publish only after all checks succeed.