载入中...
搜索中...
未找到
TerrainStamp.cpp 文件参考
#include "procgen/heightmap/TerrainStamp.h"
#include "procgen/heightmap/Heightmap.h"
#include "procgen/heightmap/TerrainRasterInternal.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <string>
#include <vector>

浏览源代码.

命名空间

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

函数

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.