载入中...
搜索中...
未找到
eve::physics::box3d::Access结构体 参考

Private bridge used exclusively by Box3D composition and native query code. 更多...

#include <Box3DBody.h>

静态 Public 成员函数

static b3BodyId bodyId (const Body3D &body)
 Borrows the native identifier synchronously; facade must belong to a Box3D world.
 
static b3ShapeId shapeId (const Shape3D &shape)
 Borrows a Box3D shape identifier for a synchronous native operation.
 
static b3JointId jointId (const Joint3D &joint)
 Internal checked Box3D joint ID; fails for another backend.
 
static b3WorldId worldId (const World3D &world)
 Internal checked Box3D world ID; fails for another backend.
 

详细描述

Private bridge used exclusively by Box3D composition and native query code.

在文件 Box3DBody.h 第 15 行定义.

成员函数说明

◆ bodyId()

◆ jointId()

b3JointId eve::physics::box3d::Access::jointId ( const Joint3D &  joint)
static

◆ shapeId()

b3ShapeId eve::physics::box3d::Access::shapeId ( const Shape3D &  shape)
static

Borrows a Box3D shape identifier for a synchronous native operation.

在文件 Box3DShape.cpp 第 328 行定义.

引用了 backend, EV_ASSERT , 以及 shape.

被这些函数引用 eve::physics::snapshot_detail::prepareWorld3D(), eve::physics::WorldSnapshotAccess::shapeContact() , 以及 eve::physics::box3d::WorldBackend::shapeKey().

◆ worldId()

b3WorldId eve::physics::box3d::Access::worldId ( const World3D &  world)
static

Internal checked Box3D world ID; fails for another backend.

在文件 Box3DWorld.cpp 第 13 行定义.

被这些函数引用 eve::physics::snapshot_detail::make3DPayload() , 以及 eve::vehicle::tire_detail::submit3D().


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