|
RavEngine
|
Public Member Functions | |
| RigidBodyStaticComponent (Entity owner) | |
| Static Body ========================================. | |
| RigidBodyStaticComponent (Entity owner, physx::PxU32 fg, physx::PxU32 fm) | |
| void | Destroy () |
Public Member Functions inherited from RavEngine::PhysicsBodyComponent | |
| auto | getScene () const |
| PhysicsBodyComponent (Entity owner) | |
| void | Destroy () |
| template<typename T , typename ... A> | |
| ColliderHandle | EmplaceCollider (A &&... args) |
| template<typename T > | |
| void | DestroyCollider (ColliderHandle handle) |
| void | OnDestroyDetatchCollider (RavEngine::PhysicsCollider &collider) |
| void | AddReceiver (decltype(receivers)::value_type &obj) |
| void | RemoveReceiver (decltype(receivers)::value_type &obj) |
| void | RemoveReceiver (PhysicsCallback *) |
| std::pair< vector3, quaternion > | getDynamicsWorldPose () const |
| void | setDynamicsWorldPose (const vector3 &worldpos, const quaternion &worldrot) const |
| void | SetGravityEnabled (bool) |
| bool | GetGravityEnabled () const |
| void | SetSleepNotificationsEnabled (bool) |
| bool | GetSleepNotificationsEnabled () const |
| void | SetSimulationEnabled (bool) |
| bool | GetSimulationEnabled () const |
| void | OnColliderEnter (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| void | OnColliderPersist (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| void | OnColliderExit (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| void | OnTriggerEnter (PhysicsBodyComponent &other) |
| void | OnTriggerExit (PhysicsBodyComponent &other) |
| bool | GetWantsContactData () const |
| void | SetWantsContactData (bool state) |
| void | DebugDraw (RavEngine::DebugDrawer &dbg, const RavEngine::Transform &tr) const |
Public Member Functions inherited from RavEngine::ComponentWithOwner | |
| ComponentWithOwner (const decltype(owner) o) | |
| Entity | GetOwner () const |
Additional Inherited Members | |
Public Types inherited from RavEngine::Queryable< types > | |
| typedef std::array< ctti_t, ntypes > | arraytype |
Public Types inherited from RavEngine::QueryableDelta< PhysicsBodyComponent, RigidBodyStaticComponent > | |
| typedef std::array< ctti_t, ntypes > | arraytype |
Static Public Member Functions inherited from RavEngine::Queryable< types > | |
| static constexpr const arraytype & | GetQueryTypes () |
Static Public Member Functions inherited from RavEngine::QueryableDelta< PhysicsBodyComponent, RigidBodyStaticComponent > | |
| static constexpr const arraytype & | GetQueryTypes () |
Public Attributes inherited from RavEngine::PhysicsBodyComponent | |
| physx::PxRigidActor * | rigidActor = nullptr |
| physx::PxU32 | filterGroup = -1 |
| physx::PxU32 | filterMask = -1 |
Public Attributes inherited from RavEngine::IDebugRenderable | |
| bool | debugEnabled = false |
| color_t | debug_color = 0xFFFFFFFF |
Public Attributes inherited from RavEngine::Queryable< types > | |
| constexpr | q_qt_def |
Public Attributes inherited from RavEngine::QueryableDelta< PhysicsBodyComponent, RigidBodyStaticComponent > | |
| constexpr | qb_qt_def |
Static Public Attributes inherited from RavEngine::Queryable< types > | |
| static constexpr std::size_t | ntypes = sizeof ... (types) |
Static Public Attributes inherited from RavEngine::QueryableDelta< PhysicsBodyComponent, RigidBodyStaticComponent > | |
| static constexpr std::size_t | ntypes |
Protected Member Functions inherited from RavEngine::PhysicsBodyComponent | |
| void | CompleteConstruction () |
| template<typename T > | |
| void | LockWrite (const T &func) |
| template<typename T > | |
| void | LockRead (const T &func) const |
Protected Attributes inherited from RavEngine::PhysicsBodyComponent | |
| UnorderedSet< std::shared_ptr< PhysicsCallback > > | receivers |
| Colony< std::shared_ptr< PhysicsCollider > > | colliders |
| bool | setPoseNeedsSync = false |
| bool | wantsContactData = false |
Protected Attributes inherited from RavEngine::ComponentWithOwner | |
| Entity | owner |