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

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

◆ alive

std::uint32_t eve::gpuagents::AgentState::alive = 0

◆ customData

float eve::gpuagents::AgentState::customData[4] {0.f, 0.f, 0.f, 0.f}

◆ position

◆ rotation

glm::quat eve::gpuagents::AgentState::rotation {1.f, 0.f, 0.f, 0.f}

◆ velocity


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