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

Optional bounded velocity sampling for RTS local avoidance. 更多...

#include <Crowd.h>

Public 属性

bool enabled = false
 Opt in independently of legacy Boids steering.
 
float horizon = 2.f
 Positive prediction seconds, at most ten.
 
float margin = 0.05f
 Non-negative extra pair clearance in world units.
 
int maxNeighbors = 32
 Nearest interacting neighbors considered, in [1,128].
 

详细描述

Optional bounded velocity sampling for RTS local avoidance.

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

类成员变量说明

◆ enabled

bool eve::crowd::AvoidanceSettings::enabled = false

Opt in independently of legacy Boids steering.

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

被这些函数引用 eve::rts::RTS::configureScriptWorld().

◆ horizon

float eve::crowd::AvoidanceSettings::horizon = 2.f

Positive prediction seconds, at most ten.

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

被这些函数引用 eve::crowd::Crowd::Impl::selectAvoidanceVelocity().

◆ margin

float eve::crowd::AvoidanceSettings::margin = 0.05f

Non-negative extra pair clearance in world units.

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

被这些函数引用 eve::crowd::Crowd::Impl::selectAvoidanceVelocity().

◆ maxNeighbors

int eve::crowd::AvoidanceSettings::maxNeighbors = 32

Nearest interacting neighbors considered, in [1,128].

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

被这些函数引用 eve::crowd::Crowd::Impl::selectAvoidanceVelocity().


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