PixelLightAPI
.
|
Abstract PL physics convex hull body. More...
#include <BodyConvexHull.h>
Public Member Functions | |
virtual PLPHYSICS_API | ~BodyConvexHull () |
Destructor. | |
PLPHYSICS_API PLCore::String | GetMesh () const |
Returns the collision mesh. | |
PLPHYSICS_API const PLMath::Vector3 & | GetMeshScale () const |
Returns the mesh scale. | |
Protected Member Functions | |
PLPHYSICS_API | BodyConvexHull (World &cWorld, BodyImpl &cBodyImpl, const PLCore::String &sMesh, const PLMath::Vector3 &vMeshScale) |
Constructor. | |
Protected Attributes | |
PLCore::String | m_sMesh |
PLMath::Vector3 | m_vMeshScale |
Abstract PL physics convex hull body.
virtual PLPHYSICS_API PLPhysics::BodyConvexHull::~BodyConvexHull | ( | ) | [virtual] |
Destructor.
PLPHYSICS_API PLPhysics::BodyConvexHull::BodyConvexHull | ( | World & | cWorld, |
BodyImpl & | cBodyImpl, | ||
const PLCore::String & | sMesh, | ||
const PLMath::Vector3 & | vMeshScale | ||
) | [protected] |
Constructor.
[in] | cWorld | World this body is in |
[in] | cBodyImpl | Reference to the physics API specific body implementation |
[in] | sMesh | Collision mesh |
[in] | vMeshScale | Mesh scale |
PLPHYSICS_API PLCore::String PLPhysics::BodyConvexHull::GetMesh | ( | ) | const |
Returns the collision mesh.
PLPHYSICS_API const PLMath::Vector3& PLPhysics::BodyConvexHull::GetMeshScale | ( | ) | const |
Returns the mesh scale.
PLCore::String PLPhysics::BodyConvexHull::m_sMesh [protected] |
Collision mesh
Mesh scale
|