|
RavEngine
|
Custom geometry class. This class allows user to create custom geometries by providing a set of virtual callback functions. More...
#include <PxCustomGeometry.h>
Classes | |
| struct | Callbacks |
| Custom geometry callbacks structure. User should inherit this and implement all pure virtual functions. More... | |
| struct | Type |
| The type of a custom geometry. Allows to identify a particular kind of it. More... | |
Public Member Functions | |
| PX_INLINE | PxCustomGeometry () |
| Default constructor. | |
| PX_INLINE | PxCustomGeometry (Callbacks &_callbacks) |
| Constructor. | |
| PX_INLINE | PxCustomGeometry (const PxCustomGeometry &that) |
| Copy constructor. | |
| PX_INLINE void | operator= (const PxCustomGeometry &that) |
| Assignment operator. | |
| PX_INLINE bool | isValid () const |
| Returns true if the geometry is valid. | |
| PX_INLINE Type | getCustomType () const |
| Returns the custom type of the custom geometry. | |
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. | |
Static Public Member Functions | |
| static PX_PHYSX_COMMON_API PxU32 | getUniqueID () |
| For internal use. | |
Public Attributes | |
| Callbacks * | callbacks |
| A reference to the callbacks object. | |
Public Attributes inherited from physx::PxGeometry | |
| float | mTypePadding |
Additional Inherited Members | |
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 |
Custom geometry class. This class allows user to create custom geometries by providing a set of virtual callback functions.
|
inline |
Default constructor.
Creates an empty object with a NULL callbacks pointer.
|
inline |
Copy constructor.
| [in] | that | Other object |
| PX_INLINE bool physx::PxCustomGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.