载入中...
搜索中...
未找到
Standardized per-agent simulation output shared by all effect kinds. 更多...
#include <AgentState.h>
Public 属性 | |
| glm::vec3 | position {0.f} |
| glm::vec3 | velocity {0.f} |
| glm::quat | rotation {1.f, 0.f, 0.f, 0.f} |
| wxyz storage (glm default). | |
| float | age = 0.f |
| float | customData [4] {0.f, 0.f, 0.f, 0.f} |
| std::uint32_t | alive = 0 |
| 0 = recycled / inactive slot. | |
详细描述
Standardized per-agent simulation output shared by all effect kinds.
在文件 AgentState.h 第 12 行定义.
类成员变量说明
◆ age
| float eve::gpuagents::AgentState::age = 0.f |
◆ alive
| std::uint32_t eve::gpuagents::AgentState::alive = 0 |
0 = recycled / inactive slot.
在文件 AgentState.h 第 18 行定义.
被这些函数引用 eve::gpuagents::detail::integrateBoid(), eve::gpuagents::BirdSolver::step(), eve::gpuagents::FishSolver::step(), eve::gpuagents::LifeNetworkSolver::step() , 以及 eve::gpuagents::PetalSolver::step().
◆ customData
◆ position
| glm::vec3 eve::gpuagents::AgentState::position {0.f} |
◆ rotation
wxyz storage (glm default).
在文件 AgentState.h 第 15 行定义.
被这些函数引用 eve::gpuagents::detail::integrateBoid(), eve::gpuagents::BirdSolver::step(), eve::gpuagents::FishSolver::step(), eve::gpuagents::LifeNetworkSolver::step() , 以及 eve::gpuagents::PetalSolver::step().
◆ velocity
| glm::vec3 eve::gpuagents::AgentState::velocity {0.f} |
该结构体的文档由以下文件生成:
- src/modules/gpuagents/AgentState.h