载入中...
搜索中...
未找到
Options for baking a road network into mesh + navigation overlays. 更多...
#include <RoadBake.h>
Public 属性 | |
| int | pathSegmentsPerEdge = 48 |
| int | turnSamples = 12 |
| bool | includePiers = true |
| bool | includeMarkings = true |
| bool | includeNavigation = true |
| bool | includeJunctions = true |
| bool | includePlacements = true |
| float | navRibbonHalfWidth = 0.22f |
| float | arrowSpacing = 5.f |
| float | junctionChordError = 0.10f |
| Maximum junction-return tessellation error in world metres. | |
| float | sideObjectSpacing = 8.f |
| float | sideObjectOffset = 0.5f |
| float | sideObjectClearance = 1.5f |
| Minimum 3D clearance from other roads and accepted side anchors. | |
| int | maximumPlacements = 65536 |
| std::size_t | maximumMeshElements = 8u * 1024u * 1024u |
| Combined vertex and index output budget. | |
详细描述
Options for baking a road network into mesh + navigation overlays.
在文件 RoadBake.h 第 43 行定义.
类成员变量说明
◆ arrowSpacing
| float eve::procgen::road::RoadBakeOptions::arrowSpacing = 5.f |
在文件 RoadBake.h 第 52 行定义.
◆ includeJunctions
| bool eve::procgen::road::RoadBakeOptions::includeJunctions = true |
在文件 RoadBake.h 第 49 行定义.
◆ includeMarkings
| bool eve::procgen::road::RoadBakeOptions::includeMarkings = true |
在文件 RoadBake.h 第 47 行定义.
◆ includeNavigation
| bool eve::procgen::road::RoadBakeOptions::includeNavigation = true |
在文件 RoadBake.h 第 48 行定义.
◆ includePiers
| bool eve::procgen::road::RoadBakeOptions::includePiers = true |
在文件 RoadBake.h 第 46 行定义.
◆ includePlacements
| bool eve::procgen::road::RoadBakeOptions::includePlacements = true |
在文件 RoadBake.h 第 50 行定义.
◆ junctionChordError
| float eve::procgen::road::RoadBakeOptions::junctionChordError = 0.10f |
Maximum junction-return tessellation error in world metres.
在文件 RoadBake.h 第 53 行定义.
◆ maximumMeshElements
Combined vertex and index output budget.
在文件 RoadBake.h 第 58 行定义.
◆ maximumPlacements
| int eve::procgen::road::RoadBakeOptions::maximumPlacements = 65536 |
在文件 RoadBake.h 第 57 行定义.
◆ navRibbonHalfWidth
| float eve::procgen::road::RoadBakeOptions::navRibbonHalfWidth = 0.22f |
在文件 RoadBake.h 第 51 行定义.
◆ pathSegmentsPerEdge
| int eve::procgen::road::RoadBakeOptions::pathSegmentsPerEdge = 48 |
在文件 RoadBake.h 第 44 行定义.
◆ sideObjectClearance
| float eve::procgen::road::RoadBakeOptions::sideObjectClearance = 1.5f |
Minimum 3D clearance from other roads and accepted side anchors.
在文件 RoadBake.h 第 56 行定义.
◆ sideObjectOffset
| float eve::procgen::road::RoadBakeOptions::sideObjectOffset = 0.5f |
在文件 RoadBake.h 第 55 行定义.
◆ sideObjectSpacing
| float eve::procgen::road::RoadBakeOptions::sideObjectSpacing = 8.f |
在文件 RoadBake.h 第 54 行定义.
◆ turnSamples
| int eve::procgen::road::RoadBakeOptions::turnSamples = 12 |
在文件 RoadBake.h 第 45 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/road/RoadBake.h