载入中...
搜索中...
未找到
eve::procgen::road::RoadSidePlacement结构体 参考

Owning rigid-facility placement settings, copied with the road style. Explicit references ignore bake sideObjectOffset. Lateral offset is signed path-right metres, applied after width scaling; vertical offset is world-up metres after terrain selection. Yaw is world-Y degrees added to the resolved orientation before footprint queries. Center emits one stream if either side is enabled, preferring the left role when both are enabled. Missing snapshot settings retain LegacyOutside and zero offsets. No external lifetime or threading state. 更多...

#include <RoadTypes.h>

Public 属性

RoadSideReference reference = RoadSideReference::LegacyOutside
 
float lateralOffset = 0.f
 Signed path-right metres, bounded to +/-10000.
 
float verticalOffset = 0.f
 World-up metres, bounded to +/-10000; reference default is .02.
 
float yawDegrees = 0.f
 Additional world-Y rotation, bounded to +/-360.
 
RoadSidePathSampling pathSampling
 Explicit sampled-surface opt-in; missing fields retain Analytic.
 

详细描述

Owning rigid-facility placement settings, copied with the road style. Explicit references ignore bake sideObjectOffset. Lateral offset is signed path-right metres, applied after width scaling; vertical offset is world-up metres after terrain selection. Yaw is world-Y degrees added to the resolved orientation before footprint queries. Center emits one stream if either side is enabled, preferring the left role when both are enabled. Missing snapshot settings retain LegacyOutside and zero offsets. No external lifetime or threading state.

在文件 RoadTypes.h 第 170 行定义.

类成员变量说明

◆ lateralOffset

float eve::procgen::road::RoadSidePlacement::lateralOffset = 0.f

Signed path-right metres, bounded to +/-10000.

在文件 RoadTypes.h 第 172 行定义.

◆ pathSampling

RoadSidePathSampling eve::procgen::road::RoadSidePlacement::pathSampling
初始值:

Explicit sampled-surface opt-in; missing fields retain Analytic.

在文件 RoadTypes.h 第 175 行定义.

◆ reference

RoadSideReference eve::procgen::road::RoadSidePlacement::reference = RoadSideReference::LegacyOutside

在文件 RoadTypes.h 第 171 行定义.

◆ verticalOffset

float eve::procgen::road::RoadSidePlacement::verticalOffset = 0.f

World-up metres, bounded to +/-10000; reference default is .02.

在文件 RoadTypes.h 第 173 行定义.

◆ yawDegrees

float eve::procgen::road::RoadSidePlacement::yawDegrees = 0.f

Additional world-Y rotation, bounded to +/-360.

在文件 RoadTypes.h 第 174 行定义.


该结构体的文档由以下文件生成: