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

Owning adapter input: raw physical terrain and separately inflated navigation costs. @ownership Copies are values; prepare never retains caller arrays. @thread Prepare/publish on the simulation owner thread; source ownership remains with the map provider. 更多...

#include <CrowdTypes.h>

Public 属性

NavigationSurfaceStamp stamp
 
int width = 0
 
int height = 0
 
float cellSize = 0.f
 
float originX = 0.f
 
float originY = 0.f
 
std::vector< float > terrainCosts
 
std::vector< float > navigationCosts
 
bool diagonal = true
 Eight-neighbor navigation when true, four-neighbor otherwise.
 
bool destinationEntryCost = false
 Forward movement charges destination costs when true.
 

详细描述

Owning adapter input: raw physical terrain and separately inflated navigation costs. @ownership Copies are values; prepare never retains caller arrays. @thread Prepare/publish on the simulation owner thread; source ownership remains with the map provider.

在文件 CrowdTypes.h 第 70 行定义.

类成员变量说明

◆ cellSize

float eve::crowd::NavigationSurfaceSnapshot::cellSize = 0.f

在文件 CrowdTypes.h 第 73 行定义.

◆ destinationEntryCost

bool eve::crowd::NavigationSurfaceSnapshot::destinationEntryCost = false

Forward movement charges destination costs when true.

在文件 CrowdTypes.h 第 76 行定义.

◆ diagonal

bool eve::crowd::NavigationSurfaceSnapshot::diagonal = true

Eight-neighbor navigation when true, four-neighbor otherwise.

在文件 CrowdTypes.h 第 75 行定义.

◆ height

int eve::crowd::NavigationSurfaceSnapshot::height = 0

在文件 CrowdTypes.h 第 72 行定义.

◆ navigationCosts

std::vector<float> eve::crowd::NavigationSurfaceSnapshot::navigationCosts

在文件 CrowdTypes.h 第 74 行定义.

◆ originX

float eve::crowd::NavigationSurfaceSnapshot::originX = 0.f

在文件 CrowdTypes.h 第 73 行定义.

◆ originY

float eve::crowd::NavigationSurfaceSnapshot::originY = 0.f

在文件 CrowdTypes.h 第 73 行定义.

◆ stamp

NavigationSurfaceStamp eve::crowd::NavigationSurfaceSnapshot::stamp

在文件 CrowdTypes.h 第 71 行定义.

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

◆ terrainCosts

std::vector<float> eve::crowd::NavigationSurfaceSnapshot::terrainCosts

在文件 CrowdTypes.h 第 74 行定义.

◆ width

int eve::crowd::NavigationSurfaceSnapshot::width = 0

在文件 CrowdTypes.h 第 72 行定义.


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