载入中...
搜索中...
未找到
Queryable CPU collider resource owned by the physics module. 更多...
#include <ArtifactProvider.h>
Public 属性 | |
| eve::PersistentId | id |
| std::string | buildKey |
| PhysicsArtifactHandle | handle |
| PhysicsWorldHandle | world = PhysicsWorldHandle::invalid() |
| Shared or compatibility-world identity that owns the live collider. | |
| std::string | shape |
| std::string | backend = "box3d" |
Backend family that owns the live shape, normally box3d. | |
| eve::artifact::Bounds | bounds |
| std::vector< float > | vertices |
| std::vector< std::uint32_t > | indices |
详细描述
Queryable CPU collider resource owned by the physics module.
在文件 ArtifactProvider.h 第 44 行定义.
类成员变量说明
◆ backend
| std::string eve::physics::PhysicsArtifactCollider::backend = "box3d" |
Backend family that owns the live shape, normally box3d.
在文件 ArtifactProvider.h 第 52 行定义.
被这些函数引用 eve::physics::PhysicsArtifactProvider::prepare() , 以及 eve::physics::PhysicsArtifactProvider::restoreState().
◆ bounds
| eve::artifact::Bounds eve::physics::PhysicsArtifactCollider::bounds |
◆ buildKey
| std::string eve::physics::PhysicsArtifactCollider::buildKey |
◆ handle
| PhysicsArtifactHandle eve::physics::PhysicsArtifactCollider::handle |
◆ id
| eve::PersistentId eve::physics::PhysicsArtifactCollider::id |
◆ indices
| std::vector<std::uint32_t> eve::physics::PhysicsArtifactCollider::indices |
◆ shape
| std::string eve::physics::PhysicsArtifactCollider::shape |
◆ vertices
| std::vector<float> eve::physics::PhysicsArtifactCollider::vertices |
◆ world
| PhysicsWorldHandle eve::physics::PhysicsArtifactCollider::world = PhysicsWorldHandle::invalid() |
Shared or compatibility-world identity that owns the live collider.
在文件 ArtifactProvider.h 第 49 行定义.
被这些函数引用 eve::physics::PhysicsArtifactProvider::prepare() , 以及 eve::physics::PhysicsArtifactProvider::restoreState().
该结构体的文档由以下文件生成:
- src/modules/physics/ArtifactProvider.h