Owning, backend-independent shape source; metres, local quaternion XYZW. 更多...
#include <ShapeBackend3D.h>
Public 属性 | |
| ShapeKind3D | kind = ShapeKind3D::Box |
| float | a = 0.f |
| float | b = 0.f |
| float | c = 0.f |
| std::vector< float > | hullVertices |
| int | hullMaxVertices = 64 |
| std::vector< float > | meshVertices |
| std::vector< int32_t > | meshIndices |
| bool | meshWeldVertices = true |
| float | meshWeldTolerance = 0.001f |
| bool | meshIdentifyEdges = true |
| bool | meshUseMedianSplit = false |
| std::vector< uint8_t > | meshMaterialIndices |
| std::vector< float > | heightValues |
| int | heightCountX = 0 |
| int | heightCountZ = 0 |
| float | heightCellSizeX = 1.f |
| float | heightCellSizeZ = 1.f |
| float | heightGlobalMin = 0.f |
| float | heightGlobalMax = 0.f |
| bool | heightClockwise = false |
| float | localX = 0.f |
| float | localY = 0.f |
| float | localZ = 0.f |
| float | localQx = 0.f |
| float | localQy = 0.f |
| float | localQz = 0.f |
| float | localQw = 1.f |
详细描述
Owning, backend-independent shape source; metres, local quaternion XYZW.
在文件 ShapeBackend3D.h 第 13 行定义.
类成员变量说明
◆ a
| float eve::physics::ShapeGeometry3D::a = 0.f |
◆ b
| float eve::physics::ShapeGeometry3D::b = 0.f |
在文件 ShapeBackend3D.h 第 15 行定义.
被这些函数引用 eve::physics::Shape3D::setBoxSize() , 以及 eve::physics::Shape3D::setCapsuleSize().
◆ c
| float eve::physics::ShapeGeometry3D::c = 0.f |
在文件 ShapeBackend3D.h 第 15 行定义.
被这些函数引用 eve::physics::Shape3D::setBoxSize().
◆ heightCellSizeX
| float eve::physics::ShapeGeometry3D::heightCellSizeX = 1.f |
在文件 ShapeBackend3D.h 第 27 行定义.
◆ heightCellSizeZ
| float eve::physics::ShapeGeometry3D::heightCellSizeZ = 1.f |
在文件 ShapeBackend3D.h 第 27 行定义.
◆ heightClockwise
| bool eve::physics::ShapeGeometry3D::heightClockwise = false |
在文件 ShapeBackend3D.h 第 29 行定义.
◆ heightCountX
| int eve::physics::ShapeGeometry3D::heightCountX = 0 |
在文件 ShapeBackend3D.h 第 26 行定义.
◆ heightCountZ
| int eve::physics::ShapeGeometry3D::heightCountZ = 0 |
在文件 ShapeBackend3D.h 第 26 行定义.
◆ heightGlobalMax
| float eve::physics::ShapeGeometry3D::heightGlobalMax = 0.f |
在文件 ShapeBackend3D.h 第 28 行定义.
◆ heightGlobalMin
| float eve::physics::ShapeGeometry3D::heightGlobalMin = 0.f |
在文件 ShapeBackend3D.h 第 28 行定义.
◆ heightValues
| std::vector<float> eve::physics::ShapeGeometry3D::heightValues |
在文件 ShapeBackend3D.h 第 25 行定义.
◆ hullMaxVertices
| int eve::physics::ShapeGeometry3D::hullMaxVertices = 64 |
在文件 ShapeBackend3D.h 第 17 行定义.
◆ hullVertices
| std::vector<float> eve::physics::ShapeGeometry3D::hullVertices |
在文件 ShapeBackend3D.h 第 16 行定义.
◆ kind
| ShapeKind3D eve::physics::ShapeGeometry3D::kind = ShapeKind3D::Box |
在文件 ShapeBackend3D.h 第 14 行定义.
被这些函数引用 eve::physics::Shape3D::getKind(), eve::physics::Shape3D::getTriangleMeshMaterialCount(), eve::physics::Shape3D::getTriangleMeshMaterialIndex(), eve::physics::Body3D::newBoxShape(), eve::physics::Body3D::newCapsuleShape(), eve::physics::Body3D::newConvexHullShape(), eve::physics::Body3D::newHeightFieldShape(), eve::physics::Body3D::newSphereShape(), eve::physics::Body3D::newTriangleMeshShape(), eve::physics::Shape3D::setBoxSize(), eve::physics::Shape3D::setCapsuleSize(), eve::physics::Shape3D::setConvexHullVertices(), eve::physics::Shape3D::setSphereRadius(), eve::physics::Shape3D::setTriangleMeshData(), eve::physics::Shape3D::setTriangleMeshMaterial(), eve::physics::Shape3D::setTriangleMeshMaterialIndices() , 以及 eve::physics::Shape3D::Shape3D().
◆ localQw
| float eve::physics::ShapeGeometry3D::localQw = 1.f |
在文件 ShapeBackend3D.h 第 31 行定义.
◆ localQx
| float eve::physics::ShapeGeometry3D::localQx = 0.f |
在文件 ShapeBackend3D.h 第 31 行定义.
◆ localQy
| float eve::physics::ShapeGeometry3D::localQy = 0.f |
在文件 ShapeBackend3D.h 第 31 行定义.
◆ localQz
| float eve::physics::ShapeGeometry3D::localQz = 0.f |
在文件 ShapeBackend3D.h 第 31 行定义.
◆ localX
| float eve::physics::ShapeGeometry3D::localX = 0.f |
在文件 ShapeBackend3D.h 第 30 行定义.
◆ localY
| float eve::physics::ShapeGeometry3D::localY = 0.f |
在文件 ShapeBackend3D.h 第 30 行定义.
◆ localZ
| float eve::physics::ShapeGeometry3D::localZ = 0.f |
在文件 ShapeBackend3D.h 第 30 行定义.
◆ meshIdentifyEdges
| bool eve::physics::ShapeGeometry3D::meshIdentifyEdges = true |
在文件 ShapeBackend3D.h 第 22 行定义.
◆ meshIndices
| std::vector<int32_t> eve::physics::ShapeGeometry3D::meshIndices |
◆ meshMaterialIndices
| std::vector<uint8_t> eve::physics::ShapeGeometry3D::meshMaterialIndices |
◆ meshUseMedianSplit
| bool eve::physics::ShapeGeometry3D::meshUseMedianSplit = false |
在文件 ShapeBackend3D.h 第 23 行定义.
◆ meshVertices
| std::vector<float> eve::physics::ShapeGeometry3D::meshVertices |
在文件 ShapeBackend3D.h 第 18 行定义.
◆ meshWeldTolerance
| float eve::physics::ShapeGeometry3D::meshWeldTolerance = 0.001f |
在文件 ShapeBackend3D.h 第 21 行定义.
◆ meshWeldVertices
| bool eve::physics::ShapeGeometry3D::meshWeldVertices = true |
在文件 ShapeBackend3D.h 第 20 行定义.
该结构体的文档由以下文件生成:
- src/modules/physics/backend/ShapeBackend3D.h