i6engine  1.0
i6e::api::physics::Physics_NodeGravity_Update Struct Reference

sets the gravity for the given object This overrides the default gravity, thus (0, 0, 0) will result in no gravity at all More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/PhysicsConfig.h>

Public Member Functions

 Physics_NodeGravity_Update (const int64_t i, const int64_t ci, const Vec3 &grav)
 
Physics_NodeGravity_Updatecopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

Vec3 gravity
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

sets the gravity for the given object This overrides the default gravity, thus (0, 0, 0) will result in no gravity at all

Definition at line 173 of file PhysicsConfig.h.

Constructor & Destructor Documentation

i6e::api::physics::Physics_NodeGravity_Update::Physics_NodeGravity_Update ( const int64_t  i,
const int64_t  ci,
const Vec3 grav 
)
inline

Definition at line 175 of file PhysicsConfig.h.

Member Function Documentation

Physics_NodeGravity_Update* i6e::api::physics::Physics_NodeGravity_Update::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 177 of file PhysicsConfig.h.

Member Data Documentation

Vec3 i6e::api::physics::Physics_NodeGravity_Update::gravity

Definition at line 174 of file PhysicsConfig.h.


The documentation for this struct was generated from the following file: