|
GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <external/RadixEngine/include/radix/component/RigidBody.hpp>
Inherits radix::Component.
Public Member Functions | |
| RigidBody (Entity &ent) | |
| RigidBody (Entity &ent, float mass, const std::shared_ptr< btCollisionShape > &collisionshape) | |
| ~RigidBody () | |
| const char * | getName () const |
| TypeId | getTypeId () const |
| void | serialize (serine::Archiver &) |
Public Member Functions inherited from radix::Component | |
| Component (Entity &ent) noexcept | |
| virtual | ~Component () |
Data Fields | |
| std::shared_ptr< btCollisionShape > | shape |
| btDefaultMotionState | motionState |
| btRigidBody * | body |
Additional Inherited Members | |
Public Types inherited from radix::Component | |
| using | TypeId = ComponentTypeId |
Static Public Member Functions inherited from radix::Component | |
| template<typename T > | |
| static TypeId | getTypeId () |
| Gets a component's type ID. More... | |
Static Public Attributes inherited from radix::Component | |
| static constexpr TypeId | MaxId = 32 |
Protected Attributes inherited from radix::Component | |
| Entity & | entity |
| radix::RigidBody::RigidBody | ( | Entity & | ent | ) |
| radix::RigidBody::RigidBody | ( | Entity & | ent, |
| float | mass, | ||
| const std::shared_ptr< btCollisionShape > & | collisionshape | ||
| ) |
| radix::RigidBody::~RigidBody | ( | ) |
|
inlinevirtual |
Implements radix::Component.
|
inlinevirtual |
Implements radix::Component.
| btRigidBody* radix::RigidBody::body |
| btDefaultMotionState radix::RigidBody::motionState |
| std::shared_ptr<btCollisionShape> radix::RigidBody::shape |
1.8.8