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

浏览源代码.

类

struct  eve::procgen::TerrainMultiTileWorkspace::Impl
 
struct  eve::procgen::TerrainMultiTileWorkspace::Impl::Tile
 
struct  eve::procgen::TerrainMultiTileWorkspace::Impl::Snapshot
 

命名空间

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

函数

Result< TerrainMultiTileReport > eve::procgen::mapTerrainOperationMultiTile (const std::vector< TerrainOperationTile > &tiles, const TerrainStampSettings &settings, TerrainOperationDomain domain, bool worldMapOperation=false, const std::vector< std::string > &validTerrainNames={})
 Calculate Pcg-compatible local and shared pixel rectangles for any multi-terrain raster domain.
 
Result< TerrainMultiTileReport > eve::procgen::applyTerrainStampMultiTile (const std::vector< TerrainHeightTile > &tiles, const Heightmap &stamp, const TerrainStampSettings &settings, const Heightmap &localMask, const Heightmap &globalMask, bool worldMapOperation=false, const std::vector< std::string > &validTerrainNames={})
 Apply one world-space stamp to all selected intersecting height tiles atomically.
 
Result< int > eve::procgen::stitchTerrainHeightmaps (const TerrainHeightTile &terrainA, const TerrainHeightTile &terrainB, const TerrainHeightStitchSettings &settings={})
 Stitch the overlapping shared edge of two grid-aligned height tiles with Pcg's seam interpolation.
 

变量说明

◆ height

int height = 0

在文件 TerrainMultiTile.cpp 第 20 行定义.

◆ referenceX

double referenceX = 0

◆ referenceZ

double referenceZ = 0

◆ spacingX

◆ spacingZ

◆ target

Heightmap* target

在文件 TerrainMultiTile.cpp 第 15 行定义.

◆ value

Heightmap value

在文件 TerrainMultiTile.cpp 第 16 行定义.

◆ width

int width = 0

在文件 TerrainMultiTile.cpp 第 19 行定义.