PixelLightAPI
.
|
Contact information class. More...
#include <ContactInformation.h>
Public Member Functions | |
PLPHYSICS_API | ContactInformation (Body &cFirstBody, Body &cSecondBody) |
Constructor. | |
PLPHYSICS_API | ~ContactInformation () |
Destructor. | |
PLPHYSICS_API Body & | GetFirstBody () const |
Returns the first physics body. | |
PLPHYSICS_API Body & | GetSecondBody () const |
Returns the first second body. | |
PLPHYSICS_API bool | IsContactIgnored () const |
Returns whether or not the contact is marked to be ignored. | |
PLPHYSICS_API void | IgnoreContact () |
Marks the contact to be ignored. |
Contact information class.
PLPHYSICS_API PLPhysics::ContactInformation::ContactInformation | ( | Body & | cFirstBody, |
Body & | cSecondBody | ||
) |
Constructor.
[in] | cFirstBody | The first physics body |
[in] | cSecondBody | The second physics body |
PLPHYSICS_API PLPhysics::ContactInformation::~ContactInformation | ( | ) |
Destructor.
PLPHYSICS_API Body& PLPhysics::ContactInformation::GetFirstBody | ( | ) | const |
Returns the first physics body.
PLPHYSICS_API Body& PLPhysics::ContactInformation::GetSecondBody | ( | ) | const |
Returns the first second body.
PLPHYSICS_API bool PLPhysics::ContactInformation::IsContactIgnored | ( | ) | const |
Returns whether or not the contact is marked to be ignored.
PLPHYSICS_API void PLPhysics::ContactInformation::IgnoreContact | ( | ) |
Marks the contact to be ignored.
|