#include <Coupling3DInternal.h>
Public 成员函数 | |
| Result< coupling_detail::Row > | row () const |
| const CouplingLimits3D & | limits () const |
Public 属性 | |
| World3D * | world = nullptr |
| int | id = 0 |
| bool | gear = false |
| bool | enabled = true |
| GearCoupling3DSettings | gearSettings |
| PulleyCoupling3DSettings | pulleySettings |
| std::array< PhysicsJointHandle, 2 > | sources {} |
| std::array< PhysicsBodyHandle, 4 > | bodies {} |
| std::array< bool, 2 > | revolute {} |
| std::array< float, 2 > | previous {} |
| std::array< double, 2 > | coordinate {} |
| double | reference = 0 |
| double | lastImpulse = 0 |
| bool | saturated = false |
详细描述
在文件 Coupling3DInternal.h 第 25 行定义.
成员函数说明
◆ limits()
|
inline |
◆ row()
| Result< coupling_detail::Row > eve::physics::Coupling3D::Data::row | ( | ) | const |
在文件 Coupling3D.cpp 第 53 行定义.
引用了 a, anchorA, anchorB, angle, axis, b, body, eve::physics::box3d::Access::bodyId(), count, d, direction, enabled, frame, gear, eve::InvalidArgument, eve::physics::box3d::Access::jointId(), length, local, offset, out, p, pos, previous, raw, reference, scale, sources, eve::StaleHandle , 以及 eve::Result< T >::success().
类成员变量说明
◆ bodies
| std::array<PhysicsBodyHandle, 4> eve::physics::Coupling3D::Data::bodies {} |
在文件 Coupling3DInternal.h 第 32 行定义.
◆ coordinate
| std::array<double, 2> eve::physics::Coupling3D::Data::coordinate {} |
在文件 Coupling3DInternal.h 第 35 行定义.
◆ enabled
| bool eve::physics::Coupling3D::Data::enabled = true |
在文件 Coupling3DInternal.h 第 28 行定义.
◆ gear
| bool eve::physics::Coupling3D::Data::gear = false |
在文件 Coupling3DInternal.h 第 28 行定义.
被这些函数引用 limits().
◆ gearSettings
| GearCoupling3DSettings eve::physics::Coupling3D::Data::gearSettings |
在文件 Coupling3DInternal.h 第 29 行定义.
被这些函数引用 limits().
◆ id
| int eve::physics::Coupling3D::Data::id = 0 |
在文件 Coupling3DInternal.h 第 27 行定义.
◆ lastImpulse
| double eve::physics::Coupling3D::Data::lastImpulse = 0 |
在文件 Coupling3DInternal.h 第 36 行定义.
◆ previous
| std::array<float, 2> eve::physics::Coupling3D::Data::previous {} |
在文件 Coupling3DInternal.h 第 34 行定义.
◆ pulleySettings
| PulleyCoupling3DSettings eve::physics::Coupling3D::Data::pulleySettings |
在文件 Coupling3DInternal.h 第 30 行定义.
被这些函数引用 limits().
◆ reference
| double eve::physics::Coupling3D::Data::reference = 0 |
在文件 Coupling3DInternal.h 第 36 行定义.
◆ revolute
| std::array<bool, 2> eve::physics::Coupling3D::Data::revolute {} |
在文件 Coupling3DInternal.h 第 33 行定义.
◆ saturated
| bool eve::physics::Coupling3D::Data::saturated = false |
在文件 Coupling3DInternal.h 第 37 行定义.
◆ sources
| std::array<PhysicsJointHandle, 2> eve::physics::Coupling3D::Data::sources {} |
在文件 Coupling3DInternal.h 第 31 行定义.
◆ world
| World3D* eve::physics::Coupling3D::Data::world = nullptr |
在文件 Coupling3DInternal.h 第 26 行定义.
该结构体的文档由以下文件生成:
- src/modules/physics/mechanics/Coupling3DInternal.h
- src/modules/physics/mechanics/Coupling3D.cpp