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

Input to the pure formation planner. 更多...

#include <RTSSystems.h>

Public 成员函数

EVENGINE_API_DOMAINS Result< void > validate () const
 Validate layout kind, spacing, grid columns and finite rotation.
 

Public 属性

FormationKind kind = FormationKind::Line
 
float spacing = 32.0f
 
int columns = 0
 
float rotationRadians = 0.f
 Counterclockwise rotation around the anchor; zero preserves legacy layouts.
 

详细描述

Input to the pure formation planner.

在文件 RTSSystems.h 第 34 行定义.

成员函数说明

◆ validate()

类成员变量说明

◆ columns

int eve::rts::FormationSpec::columns = 0

在文件 RTSSystems.h 第 37 行定义.

被这些函数引用 eve::rts::FormationPlanner::plan() , 以及 validate().

◆ kind

◆ rotationRadians

float eve::rts::FormationSpec::rotationRadians = 0.f

Counterclockwise rotation around the anchor; zero preserves legacy layouts.

在文件 RTSSystems.h 第 38 行定义.

被这些函数引用 validate().

◆ spacing


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