载入中...
搜索中...
未找到
eve::vehicle::VehicleEntity::PhysicsBody结构体 参考

跨帧物理绑定;不透明实现持有 generation link 和弱 world 生命周期。 更多...

#include <VehicleTypes.h>

Public 属性

std::shared_ptr< VehiclePhysicsBinding > binding
 
std::string space
 

详细描述

跨帧物理绑定;不透明实现持有 generation link 和弱 world 生命周期。

Physics world 是刚体权威 owner。最后一个组件副本销毁时,仅在 world 仍存活且 link 仍可解析时销毁刚体;world 先销毁时 binding 自动变 stale,绝不解引用旧地址。

在文件 VehicleTypes.h 第 293 行定义.

类成员变量说明

◆ binding

std::shared_ptr<VehiclePhysicsBinding> eve::vehicle::VehicleEntity::PhysicsBody::binding

在文件 VehicleTypes.h 第 294 行定义.

◆ space

std::string eve::vehicle::VehicleEntity::PhysicsBody::space

在文件 VehicleTypes.h 第 295 行定义.


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