|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Physics/World.hpp>
Public Member Functions | |
| const Vector3 & | getGravity () const noexcept |
| The physicsWorld gravity constant. | |
| void | setGravity (const Vector3 &gravity) noexcept |
| The physicsWorld gravity constant. | |
Public Member Functions inherited from CeresEngine::Component< T >::Accessor | |
| Accessor (const Entity &entity) | |
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::Component< T >::Accessor | |
| const Entity & | entity |
Protected Types inherited from CeresEngine::Component< T >::Accessor | |
| using | C = TC |
Protected Member Functions inherited from CeresEngine::Component< T >::Accessor | |
| template<typename T > | |
| auto | mutate (T C::*ptr) |
Accesses an element from an existing Component. | |
| template<typename MutatorFunc , typename T > requires (CInvocable<MutatorFunc, T&>) | |
| decltype(auto) | mutate (MutatorFunc &&func, T C::*ptr) |
Accesses an element from an existing Component. | |
| template<typename T1 , typename T2 , typename... Ts> | |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | mutate (T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptrs) |
| TODO Write docs. | |
| template<typename MutatorFunc , typename T1 , typename T2 , typename... Ts> | |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | mutate (MutatorFunc &&func, T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptr) |
| template<typename T > | |
| auto | get (T C::*ptr) |
Accesses an element from an existing Component. | |
| template<typename T1 , typename T2 , typename... Ts> | |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | get (T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptrs) |
Accesses an element from an existing Component. | |
| template<typename T > | |
| const T & | read (const T C::*ptr) const |
Accesses an element from an existing Component. | |
| template<typename T1 , typename T2 , typename... Ts> | |
| Tuple< const T1 &, const T2 &, const Ts &... > | read (const T1 C::*ptr1, const T2 C::*ptr2, const Ts C::*... ptrs) const |
| TODO Write docs. | |
| template<typename T > | |
| const T & | get (const T C::*ptr) const |
Accesses an element from an existing Component. | |
| template<typename T1 , typename T2 , typename... Ts> | |
| Tuple< const T1 &, const T2 &, const Ts &... > | get (const T1 C::*ptr1, const T2 C::*ptr2, const Ts C::*... ptrs) const |
Accesses an element from an existing Component. | |
The physicsWorld gravity constant.
If zero, no gravity is applied by the engine.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
inlinenoexcept |
The physicsWorld gravity constant.
If zero, no gravity is applied by the engine.