载入中...
搜索中...
未找到
eve::housegen 命名空间参考

类

struct  HouseComponent
 房屋组件模板(几何 + 连接点 + 权重)。 更多...
 
class  HouseComponentLibrary
 房屋组件注册表(按 id 索引,支持分类/风格查询)。 更多...
 
class  HouseGen
 程序化房屋生成模块(eve.HouseGen):组件库 + 布局生成。 更多...
 
class  HouseGenerator
 布局生成器:把 HouseRequest 解析为 HouseLayout(组件库驱动)。 更多...
 
struct  HouseInstance
 布局中的单个组件实例(位置 + 旋转)。 更多...
 
class  HouseLayout
 一次生成的房屋布局:实例 + 房间 + 元信息,可 JSON 序列化 / 实例化。 更多...
 
struct  HouseMaterialOverride
 组件材质覆盖(未设置的字段沿用默认材质)。 更多...
 
struct  HousePolygonPoint
 自由轮廓占地的一个多边形顶点(角坐标,[0,width]×[0,depth])。 更多...
 
struct  HouseRequest
 一次房屋生成请求(参数集)。 更多...
 
struct  HouseRoom
 布局中的房间标记。 更多...
 
struct  HouseSocket
 组件连接点:方向 + 类型 + 可接受类型。 更多...
 

枚举

enum class  SocketDirection {
  North , East , South , West ,
  Up , Down
}
 组件连接点方向(上下 + 四向)。 更多...
 

函数

void exposeHouseGeneration (ssq::Table &table)
 Register the procgen-owned house generation compatibility API.
 

枚举类型说明

◆ SocketDirection

enum class eve::housegen::SocketDirection
strong

组件连接点方向(上下 + 四向)。

枚举值
North 
East 
South 
West 
Up 
Down 

在文件 HouseGenTypes.h 第 10 行定义.

函数说明

◆ exposeHouseGeneration()

void eve::housegen::exposeHouseGeneration ( ssq::Table &  table)

Register the procgen-owned house generation compatibility API.

在文件 HouseGen.cpp 第 28 行定义.

引用了 c, cls, current, d, eve::Diagnostic::error(), eve::housegen::HouseGen::expose(), eve::InvalidArgument, layout, output, eve::script::projectResult(), r, request, eve::housegen::HouseLayout::toJson(), v, value, vm , 以及 w.