Continuous facility over an authored edge interval; all profiles and prefab meshes are owned values. 更多...
#include <RoadTypes.h>
Public 属性 | |
| RoadFacilityPrefab | prefab |
| Empty source mesh selects section sweep; profile remains the socket envelope. | |
| std::uint32_t | id = 1 |
| Unique within an edge style; preserved by split and reversal. | |
| float | start = 0.f |
| float | end = 1.f |
| float | lateralOffset = 0.f |
| Metres from the authored centerline, signed along its side axis. | |
| float | verticalOffset = 0.f |
| std::vector< RoadProfilePoint > | profile |
| Closed simple section; outgoing segment material. | |
| bool | capStart = true |
| bool | capEnd = true |
| float | uvMeters = 2.f |
详细描述
Continuous facility over an authored edge interval; all profiles and prefab meshes are owned values.
在文件 RoadTypes.h 第 112 行定义.
类成员变量说明
◆ capEnd
| bool eve::procgen::road::RoadContinuousFacility::capEnd = true |
在文件 RoadTypes.h 第 119 行定义.
◆ capStart
| bool eve::procgen::road::RoadContinuousFacility::capStart = true |
在文件 RoadTypes.h 第 119 行定义.
◆ end
| float eve::procgen::road::RoadContinuousFacility::end = 1.f |
在文件 RoadTypes.h 第 115 行定义.
◆ id
| std::uint32_t eve::procgen::road::RoadContinuousFacility::id = 1 |
Unique within an edge style; preserved by split and reversal.
在文件 RoadTypes.h 第 114 行定义.
◆ lateralOffset
| float eve::procgen::road::RoadContinuousFacility::lateralOffset = 0.f |
Metres from the authored centerline, signed along its side axis.
在文件 RoadTypes.h 第 116 行定义.
◆ prefab
| RoadFacilityPrefab eve::procgen::road::RoadContinuousFacility::prefab |
Empty source mesh selects section sweep; profile remains the socket envelope.
在文件 RoadTypes.h 第 113 行定义.
◆ profile
| std::vector<RoadProfilePoint> eve::procgen::road::RoadContinuousFacility::profile |
Closed simple section; outgoing segment material.
在文件 RoadTypes.h 第 118 行定义.
◆ start
| float eve::procgen::road::RoadContinuousFacility::start = 0.f |
在文件 RoadTypes.h 第 115 行定义.
◆ uvMeters
| float eve::procgen::road::RoadContinuousFacility::uvMeters = 2.f |
在文件 RoadTypes.h 第 120 行定义.
◆ verticalOffset
| float eve::procgen::road::RoadContinuousFacility::verticalOffset = 0.f |
在文件 RoadTypes.h 第 117 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/road/RoadTypes.h