载入中...
搜索中...
未找到
房屋组件模板(几何 + 连接点 + 权重)。 更多...
#include <HouseGenTypes.h>
Public 属性 | |
| std::string | id |
| std::string | modelPath |
| std::string | category |
| int | width = 1 |
| 占地尺寸(格)。 | |
| int | depth = 1 |
| int | height = 1 |
| int | weight = 1 |
| 生成权重(越大越常被选中)。 | |
| std::vector< int > | rotations {0, 90, 180, 270} |
| 允许的旋转(度)。 | |
| std::vector< std::string > | tags |
| std::vector< HouseSocket > | sockets |
| 连接点。 | |
| HouseMaterialOverride | material |
| 材质覆盖。 | |
详细描述
房屋组件模板(几何 + 连接点 + 权重)。
在文件 HouseGenTypes.h 第 42 行定义.
类成员变量说明
◆ category
| std::string eve::housegen::HouseComponent::category |
在文件 HouseGenTypes.h 第 45 行定义.
◆ depth
| int eve::housegen::HouseComponent::depth = 1 |
在文件 HouseGenTypes.h 第 48 行定义.
◆ height
| int eve::housegen::HouseComponent::height = 1 |
在文件 HouseGenTypes.h 第 49 行定义.
◆ id
| std::string eve::housegen::HouseComponent::id |
在文件 HouseGenTypes.h 第 43 行定义.
◆ material
| HouseMaterialOverride eve::housegen::HouseComponent::material |
材质覆盖。
在文件 HouseGenTypes.h 第 58 行定义.
◆ modelPath
| std::string eve::housegen::HouseComponent::modelPath |
在文件 HouseGenTypes.h 第 44 行定义.
◆ rotations
| std::vector<int> eve::housegen::HouseComponent::rotations {0, 90, 180, 270} |
允许的旋转(度)。
在文件 HouseGenTypes.h 第 53 行定义.
◆ sockets
| std::vector<HouseSocket> eve::housegen::HouseComponent::sockets |
连接点。
在文件 HouseGenTypes.h 第 56 行定义.
◆ tags
| std::vector<std::string> eve::housegen::HouseComponent::tags |
在文件 HouseGenTypes.h 第 54 行定义.
◆ weight
| int eve::housegen::HouseComponent::weight = 1 |
生成权重(越大越常被选中)。
在文件 HouseGenTypes.h 第 51 行定义.
◆ width
| int eve::housegen::HouseComponent::width = 1 |
占地尺寸(格)。
在文件 HouseGenTypes.h 第 47 行定义.
该结构体的文档由以下文件生成:
- src/modules/housegen/HouseGenTypes.h