载入中...
搜索中...
未找到
#include "procgen/SpatialData.h"#include "procgen/MeshBuild.h"#include <algorithm>#include <cmath>#include <limits>#include <string>#include <string_view>命名空间 | |
| 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. | |