i6engine
1.0
|
struct containing the collision info for an object More...
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/components/PhysicalStateComponent.h>
Public Member Functions | |
CollisionGroup () | |
Constructor. Initializes members with 0 (no Collisions) More... | |
CollisionGroup (uint32_t response, uint32_t type, uint32_t mask) | |
Constructor. Initializes members with given values. More... | |
CollisionGroup (const std::string &str) | |
Constructor. Initializes members with given values. More... | |
CollisionGroup & | operator= (const CollisionGroup &cg) |
void | insertInMap (const std::string &entry, attributeMap ¶ms) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Public Attributes | |
uint32_t | responseType |
defines the physical properties More... | |
uint32_t | crashType |
type of the object More... | |
uint32_t | crashMask |
mask of all objects the given object gets collision feedback More... | |
struct containing the collision info for an object
Definition at line 87 of file PhysicalStateComponent.h.
|
inline |
Constructor. Initializes members with 0 (no Collisions)
Definition at line 106 of file PhysicalStateComponent.h.
|
inline |
Constructor. Initializes members with given values.
[in] | response | value indicating how this object interacts in the world |
[in] | type | value defining the type of the object (user definable) |
[in] | mask | a collision msg will be sent if this:mask & other:type != 0 |
Definition at line 115 of file PhysicalStateComponent.h.
|
inlineexplicit |
Constructor. Initializes members with given values.
[in] | str | string containing responseType, crashType and crashMask |
Definition at line 122 of file PhysicalStateComponent.h.
|
inline |
Definition at line 136 of file PhysicalStateComponent.h.
|
inline |
Definition at line 129 of file PhysicalStateComponent.h.
|
inline |
Definition at line 143 of file PhysicalStateComponent.h.
uint32_t i6e::api::CollisionGroup::crashMask |
mask of all objects the given object gets collision feedback
Definition at line 101 of file PhysicalStateComponent.h.
uint32_t i6e::api::CollisionGroup::crashType |
type of the object
Definition at line 96 of file PhysicalStateComponent.h.
uint32_t i6e::api::CollisionGroup::responseType |
defines the physical properties
Definition at line 91 of file PhysicalStateComponent.h.