Defined in include/geometry/PxPlaneGeometry.h

Inheritance Relationships

Base Type

class PxPlaneGeometry : public PxGeometry

Class describing a plane geometry.

The plane geometry specifies the half-space volume x<=0. As with other geometry types, when used in a PxShape the collision volume is obtained by transforming the halfspace by the shape local pose and the actor global pose.

To generate a PxPlane from a PxTransform, transform PxPlane(1,0,0,0).

To generate a PxTransform from a PxPlane, use PxTransformFromPlaneEquation.

Public Functions

inline PxPlaneGeometry()


inline PxPlaneGeometry(const PxPlaneGeometry &that)

Copy constructor.


that[in] Other object

inline void operator=(const PxPlaneGeometry &that)

Assignment operator.

inline bool isValid() const

Returns true if the geometry is valid.


True if the current settings are valid

inline PxGeometryType::Enum getType() const

Returns the type of the geometry.


The type of the object.

Public Members

float mTypePadding

Protected Attributes

PxGeometryType::Enum mType