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

Configurable limits shared by automatic modular-map generators. 更多...

#include <ModuleAssembly.h>

Public 属性

float cellSize = 4.0f
 
float floorHeight = 4.0f
 
int minCellX = 0
 
int maxCellX = 0
 
int minCellZ = 0
 
int maxCellZ = 0
 
int maxLevels = 1
 
std::array< bool, 4 > allowedQuarterTurns {true, true, true, true}
 
bool bounded = false
 
bool requireConnection = true
 
float minimumSupportRatio = 0.0f
 

详细描述

Configurable limits shared by automatic modular-map generators.

在文件 ModuleAssembly.h 第 44 行定义.

类成员变量说明

◆ allowedQuarterTurns

std::array<bool, 4> eve::procgen::ModuleAssemblyConstraints::allowedQuarterTurns {true, true, true, true}

◆ bounded

bool eve::procgen::ModuleAssemblyConstraints::bounded = false

◆ cellSize

float eve::procgen::ModuleAssemblyConstraints::cellSize = 4.0f

在文件 ModuleAssembly.h 第 45 行定义.

被这些函数引用 eve::procgen::ModuleAssemblyPlan::configure().

◆ floorHeight

float eve::procgen::ModuleAssemblyConstraints::floorHeight = 4.0f

在文件 ModuleAssembly.h 第 46 行定义.

被这些函数引用 eve::procgen::ModuleAssemblyPlan::configure().

◆ maxCellX

int eve::procgen::ModuleAssemblyConstraints::maxCellX = 0

◆ maxCellZ

int eve::procgen::ModuleAssemblyConstraints::maxCellZ = 0

◆ maxLevels

int eve::procgen::ModuleAssemblyConstraints::maxLevels = 1

◆ minCellX

int eve::procgen::ModuleAssemblyConstraints::minCellX = 0

◆ minCellZ

int eve::procgen::ModuleAssemblyConstraints::minCellZ = 0

◆ minimumSupportRatio

float eve::procgen::ModuleAssemblyConstraints::minimumSupportRatio = 0.0f

◆ requireConnection

bool eve::procgen::ModuleAssemblyConstraints::requireConnection = true

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