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

Owning per-road terrain author policy; copied with styles, presets and history. Owner-thread value with no callbacks or external references. Execution budgets belong to the write request. Disabled policies preserve every channel. Missing historical policy fields use these defaults. 更多...

#include <RoadTerrainPolicy.h>

Public 属性

bool enabled = true
 
float blendDistance = 2.f
 
float maxVerticalDelta = 2.f
 
int splatLayer = -1
 
float splatOpacity = 1.f
 
bool clearDetails = true
 
bool clearTrees = true
 
bool cutTunnelHoles = false
 
bool tunnelHolesAtPortalsOnly = true
 

详细描述

Owning per-road terrain author policy; copied with styles, presets and history. Owner-thread value with no callbacks or external references. Execution budgets belong to the write request. Disabled policies preserve every channel. Missing historical policy fields use these defaults.

在文件 RoadTerrainPolicy.h 第 7 行定义.

类成员变量说明

◆ blendDistance

float eve::procgen::road::RoadTerrainPolicy::blendDistance = 2.f

在文件 RoadTerrainPolicy.h 第 9 行定义.

◆ clearDetails

bool eve::procgen::road::RoadTerrainPolicy::clearDetails = true

在文件 RoadTerrainPolicy.h 第 12 行定义.

◆ clearTrees

bool eve::procgen::road::RoadTerrainPolicy::clearTrees = true

在文件 RoadTerrainPolicy.h 第 12 行定义.

◆ cutTunnelHoles

bool eve::procgen::road::RoadTerrainPolicy::cutTunnelHoles = false

在文件 RoadTerrainPolicy.h 第 12 行定义.

◆ enabled

bool eve::procgen::road::RoadTerrainPolicy::enabled = true

在文件 RoadTerrainPolicy.h 第 8 行定义.

被这些函数引用 eve::procgen::road::RoadTerrainPlan::prepare().

◆ maxVerticalDelta

float eve::procgen::road::RoadTerrainPolicy::maxVerticalDelta = 2.f

在文件 RoadTerrainPolicy.h 第 9 行定义.

◆ splatLayer

int eve::procgen::road::RoadTerrainPolicy::splatLayer = -1

在文件 RoadTerrainPolicy.h 第 10 行定义.

◆ splatOpacity

float eve::procgen::road::RoadTerrainPolicy::splatOpacity = 1.f

在文件 RoadTerrainPolicy.h 第 11 行定义.

◆ tunnelHolesAtPortalsOnly

bool eve::procgen::road::RoadTerrainPolicy::tunnelHolesAtPortalsOnly = true

在文件 RoadTerrainPolicy.h 第 13 行定义.


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