PixelLightAPI  .
Public Member Functions
PLPhysics::ContactInformation Class Reference

Contact information class. More...

#include <ContactInformation.h>

List of all members.

Public Member Functions

PLPHYSICS_API ContactInformation (Body &cFirstBody, Body &cSecondBody)
 Constructor.
PLPHYSICS_API ~ContactInformation ()
 Destructor.
PLPHYSICS_API BodyGetFirstBody () const
 Returns the first physics body.
PLPHYSICS_API BodyGetSecondBody () 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.

Detailed Description

Contact information class.


Constructor & Destructor Documentation

PLPHYSICS_API PLPhysics::ContactInformation::ContactInformation ( Body cFirstBody,
Body cSecondBody 
)

Constructor.

Parameters:
[in]cFirstBodyThe first physics body
[in]cSecondBodyThe second physics body

Destructor.


Member Function Documentation

Returns the first physics body.

Returns:
The first physics body

Returns the first second body.

Returns:
The second physics body

Returns whether or not the contact is marked to be ignored.

Returns:
'true' if the contact is marked as to be ignored, else 'false'

Marks the contact to be ignored.

Remarks:
By default, detected contacts are used by the physics. Using this function one can tell the physics not to use this contact.

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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:21
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported