RavEngine
Loading...
Searching...
No Matches
physx::PxPlaneGeometry Class Reference

Class describing a plane geometry. More...

#include <PxPlaneGeometry.h>

Inheritance diagram for physx::PxPlaneGeometry:
[legend]
Collaboration diagram for physx::PxPlaneGeometry:
[legend]

Public Member Functions

PX_INLINE PxPlaneGeometry ()
 Constructor.
 
PX_INLINE PxPlaneGeometry (const PxPlaneGeometry &that)
 Copy constructor.
 
PX_INLINE void operator= (const PxPlaneGeometry &that)
 Assignment operator.
 
PX_INLINE bool isValid () const
 Returns true if the geometry is valid.
 
- Public Member Functions inherited from physx::PxGeometry
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum getType () const
 Returns the type of the geometry.
 
PX_INLINE void operator= (const PxGeometry &that)
 Assignment operator.
 

Additional Inherited Members

- Public Attributes inherited from physx::PxGeometry
float mTypePadding
 
- Protected Member Functions inherited from physx::PxGeometry
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometry (PxGeometryType::Enum type)
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometry (const PxGeometry &that)
 
- Protected Attributes inherited from physx::PxGeometry
PxGeometryType::Enum mType
 

Detailed Description

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.

See also
PxShape.setGeometry() PxShape.getPlaneGeometry() PxTransformFromPlaneEquation

Constructor & Destructor Documentation

◆ PxPlaneGeometry()

PX_INLINE physx::PxPlaneGeometry::PxPlaneGeometry ( const PxPlaneGeometry &  that)
inline

Copy constructor.

Parameters
[in]thatOther object

Member Function Documentation

◆ isValid()

PX_INLINE bool physx::PxPlaneGeometry::isValid ( ) const

Returns true if the geometry is valid.

Returns
True if the current settings are valid

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