载入中...
搜索中...
未找到
一次房屋生成请求(参数集)。 更多...
#include <HouseGenTypes.h>
Public 属性 | |
| uint32_t | seed = 1 |
| int | width = 6 |
| 占地尺寸(格)与层数。 | |
| int | depth = 6 |
| int | floors = 1 |
| float | moduleSize = 1.f |
| 模块尺寸 / 层高(世界单位)。 | |
| float | floorHeight = 3.f |
| std::string | style |
| std::string | footprint = "auto" |
| auto | rectangle | l_shape | t_shape。 | |
| std::string | roof = "auto" |
| auto | gable | flat | shed。 | |
| std::string | entrance = "auto" |
| auto | north | east | south | west。 | |
| std::vector< std::string > | requiredRooms {"living"} |
| int | maxAttempts = 32 |
| 生成重试上限。 | |
详细描述
一次房屋生成请求(参数集)。
在文件 HouseGenTypes.h 第 62 行定义.
类成员变量说明
◆ depth
| int eve::housegen::HouseRequest::depth = 6 |
在文件 HouseGenTypes.h 第 66 行定义.
◆ entrance
| std::string eve::housegen::HouseRequest::entrance = "auto" |
auto | north | east | south | west。
在文件 HouseGenTypes.h 第 77 行定义.
◆ floorHeight
| float eve::housegen::HouseRequest::floorHeight = 3.f |
在文件 HouseGenTypes.h 第 70 行定义.
◆ floors
| int eve::housegen::HouseRequest::floors = 1 |
在文件 HouseGenTypes.h 第 67 行定义.
◆ footprint
| std::string eve::housegen::HouseRequest::footprint = "auto" |
auto | rectangle | l_shape | t_shape。
在文件 HouseGenTypes.h 第 73 行定义.
◆ maxAttempts
| int eve::housegen::HouseRequest::maxAttempts = 32 |
◆ moduleSize
| float eve::housegen::HouseRequest::moduleSize = 1.f |
◆ requiredRooms
| std::vector<std::string> eve::housegen::HouseRequest::requiredRooms {"living"} |
在文件 HouseGenTypes.h 第 78 行定义.
◆ roof
| std::string eve::housegen::HouseRequest::roof = "auto" |
auto | gable | flat | shed。
在文件 HouseGenTypes.h 第 75 行定义.
◆ seed
| uint32_t eve::housegen::HouseRequest::seed = 1 |
在文件 HouseGenTypes.h 第 63 行定义.
◆ style
| std::string eve::housegen::HouseRequest::style |
在文件 HouseGenTypes.h 第 71 行定义.
◆ width
| int eve::housegen::HouseRequest::width = 6 |
该结构体的文档由以下文件生成:
- src/modules/housegen/HouseGenTypes.h