载入中...
搜索中...
未找到
eve::crowd 命名空间参考

类

struct  AgentInteraction
 Independent local interaction policy, copied into Crowd storage. 更多...
 
struct  AgentState
 单个单位的状态快照(脚本 getAgentState 返回值)。 action: 0=idle, 1=flow, 2=seek, 3=boids。 更多...
 
struct  AvoidanceSettings
 Optional bounded velocity sampling for RTS local avoidance. 更多...
 
class  Crowd
 群体行为模块:连续流场寻路 + 海量单位移动/转向/行动 + Boids 鸟群。 更多...
 
class  CrowdField
 连续流场(flow field)。 更多...
 
struct  FlowVec
 流场采样结果(脚本 flowAtWorld / flowAtCell 返回值)。 更多...
 
struct  SpawnBatch
 Caller-built transaction; positive budgets bound search and relaxation. @cost Linear in requested agents plus bounded candidate/contact checks; callers amortize by batching spawns. 更多...
 
struct  SpawnPlacement
 Owning placement result, independent of compact slots and subsequent removal. 更多...
 
struct  SpawnReceipt
 Observations from a committed spawn transaction. @cost Linear in created placement count; returned by value once per spawn batch. 更多...
 
struct  SpawnRequest
 One named agent to create; all fields are owned values. 更多...
 
struct  StepReport
 Owning observations of one completed advance; simulation-thread only. 更多...
 

枚举

enum class  SpawnPolicy { RejectOverlap , NearestFree , PushNeighbors }
 Placement policy for an atomic spawn batch. 更多...
 

函数

 Module_IMPL (Crowd, new Crowd())
 

枚举类型说明

◆ SpawnPolicy

enum class eve::crowd::SpawnPolicy
strong

Placement policy for an atomic spawn batch.

枚举值
RejectOverlap 
NearestFree 
PushNeighbors 

在文件 Crowd.h 第 64 行定义.

函数说明

◆ Module_IMPL()

eve::crowd::Module_IMPL ( Crowd  ,
new   Crowd() 
)