PixelLightAPI
.
|
Abstract PL physics slider (other name: cylindrical) joint. More...
#include <JointSlider.h>
Public Member Functions | |
virtual PLPHYSICS_API | ~JointSlider () |
Destructor. | |
PLPHYSICS_API const PLMath::Vector3 & | GetPivotPoint () const |
Returns the origin of the slider in world space. | |
PLPHYSICS_API const PLMath::Vector3 & | GetPinDir () const |
Returns the line of action of the slider in world space. | |
Protected Member Functions | |
PLPHYSICS_API | JointSlider (World &cWorld, JointImpl &cJointImpl, Body *pParentBody, Body *pChildBody, const PLMath::Vector3 &vPivotPoint, const PLMath::Vector3 &vPinDir) |
Constructor. | |
Protected Attributes | |
PLMath::Vector3 | m_vPivotPoint |
PLMath::Vector3 | m_vPinDir |
Abstract PL physics slider (other name: cylindrical) joint.
virtual PLPHYSICS_API PLPhysics::JointSlider::~JointSlider | ( | ) | [virtual] |
Destructor.
PLPHYSICS_API PLPhysics::JointSlider::JointSlider | ( | World & | cWorld, |
JointImpl & | cJointImpl, | ||
Body * | pParentBody, | ||
Body * | pChildBody, | ||
const PLMath::Vector3 & | vPivotPoint, | ||
const PLMath::Vector3 & | vPinDir | ||
) | [protected] |
Constructor.
[in] | cWorld | World this joint is in |
[in] | cJointImpl | Reference to the physics API specific joint implementation |
[in] | pParentBody | Pointer to the parent rigid body, can be a null pointer |
[in] | pChildBody | Pointer to the attached rigid body, can be a null pointer |
[in] | vPivotPoint | Origin of the slider in world space |
[in] | vPinDir | The line of action of the slider in world space |
PLPHYSICS_API const PLMath::Vector3& PLPhysics::JointSlider::GetPivotPoint | ( | ) | const |
Returns the origin of the slider in world space.
PLPHYSICS_API const PLMath::Vector3& PLPhysics::JointSlider::GetPinDir | ( | ) | const |
Returns the line of action of the slider in world space.
PLMath::Vector3 PLPhysics::JointSlider::m_vPivotPoint [protected] |
Origin of the slider in world space
PLMath::Vector3 PLPhysics::JointSlider::m_vPinDir [protected] |
The line of action of the slider in world space
|