RuneParam 参数模块
更多...
#include <rmvlpara/combo/rune.h>
◆ RuneParam()
rm::para::RuneParam::RuneParam |
( |
| ) |
|
|
default |
◆ load()
bool rm::para::RuneParam::load |
( |
const std::string & |
path | ) |
|
从指定 YAML
文件中加载 RuneParam
- 注解
YAML
文件的后缀允许是 *.yml
和 *.yaml
- 参数
-
- 返回
- 是否加载成功
◆ BEST_RADIUS_RATIO
float rm::para::RuneParam::BEST_RADIUS_RATIO = 11.f |
◆ COEFF_K
float rm::para::RuneParam::COEFF_K = 1.f |
◆ MAX_AREA_RATIO
float rm::para::RuneParam::MAX_AREA_RATIO = 4.f |
◆ MAX_MID_LINE_RATIO
float rm::para::RuneParam::MAX_MID_LINE_RATIO = 2.f |
神符中心离扇叶间中垂线距离与神符中心高度的最大比值
◆ MAX_RADIUS_RATIO
float rm::para::RuneParam::MAX_RADIUS_RATIO = 15.f |
◆ MIN_AREA_RATIO
float rm::para::RuneParam::MIN_AREA_RATIO = 0.4f |
◆ MIN_RADIUS_RATIO
float rm::para::RuneParam::MIN_RADIUS_RATIO = 1.f |
◆ RUNE_DISTANCE
float rm::para::RuneParam::RUNE_DISTANCE = 7400.f |
该结构体的文档由以下文件生成: