载入中...
搜索中...
未找到
UrbanOutput.h 文件参考
#include "common/Export.h"
#include <string>

浏览源代码.

命名空间

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

函数

bool eve::procgen::urban::parseUrbanOptions (const Params &params, UrbanOptions &opts, std::string &error)
 Parse Procgen Params into urban generator options. Params: land/landPoints, minParcelArea, targetParcels, maxLevels, lambdaSize, lambdaRegu, lambdaAcce, lambdaOrient, gammaAngle, gammaSide, accessThreshold, shortEdgeFactor, streetWidth, streetPattern, culDeSacAfterLevel, orientation, boundaryStreet, boundaryStreetFraction, dijkstraJunctionWeight, optimize, optimizeIterations.
 
void eve::procgen::urban::registerUrbanGenerators (GeneratorRegistry &registry)
 Register "urban.parcels" (Grid2D) and "mesh.urban" (MeshBuild) builtins.
 
void eve::procgen::urban::registerUrbanMeshRecipes (MeshRecipeRegistry &registry)
 Registers urban mesh recipes.
 
bool eve::procgen::urban::generateUrbanGrid (const Params &params, Grid2D &out, std::string &error)
 Grid2D rasterization of the urban layout (Semantic::Road/Floor/Wall + parcel detail).
 
bool eve::procgen::urban::generateUrbanMesh (const Params &params, MeshBuild &out, std::string &error)
 MeshBuild of parcel blocks + street ribbons (flat or extruded, Y-up).