RuneCenterParam 参数模块
更多...
#include <rmvlpara/feature/rune_center.h>
◆ RuneCenterParam()
| rm::para::RuneCenterParam::RuneCenterParam |
( |
| ) |
|
|
default |
◆ load()
| bool rm::para::RuneCenterParam::load |
( |
const std::string & | path | ) |
|
|
inline |
◆ read()
| bool rm::para::RuneCenterParam::read |
( |
const std::string & | path | ) |
|
从指定 YAML 文件中加载,并读取至 RuneCenterParam 中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否读取成功
◆ write()
| bool rm::para::RuneCenterParam::write |
( |
const std::string & | path | ) |
const |
将 RuneCenterParam 的数据写入指定的 YAML 文件中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否写入成功
◆ MAX_AREA
| float rm::para::RuneCenterParam::MAX_AREA = 1000.f |
◆ MAX_RATIO
| float rm::para::RuneCenterParam::MAX_RATIO = 1.44f |
◆ MIN_AREA
| float rm::para::RuneCenterParam::MIN_AREA = 10.f |
◆ MIN_RATIO
| float rm::para::RuneCenterParam::MIN_RATIO = 0.7f |
该类的文档由以下文件生成: