载入中...
搜索中...
未找到
SpatialData.h 文件参考
#include "common/Export.h"
#include "procgen/PointSet.h"
#include "procgen/heightmap/Heightmap.h"
#include <cstdint>
#include <memory>
#include <string>
#include <string_view>

浏览源代码.

类

struct  eve::procgen::SpatialBounds
 Axis-aligned bounds shared by all procedural spatial data types. 更多...
 
class  eve::procgen::SpatialData
 Queryable spatial input for procedural pipelines. 更多...
 

命名空间

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

函数

PointSet eve::procgen::sampleSpatialOntoChannel (const PointSet &input, const SpatialData &spatial, std::string_view channel, float inputMin, float inputMax, float outputMin, float outputMax, bool clampOutput, bool invert)
 Remap SpatialData::sampleScalar onto a float channel ($Density or metadata). When inputMin equals inputMax, heightfields auto-use Y bounds and texture masks use 0..1.