|
|
void | setDimensions (int x, int y, int z) |
| |
|
int | dimX () const |
| |
|
int | dimY () const |
| |
|
int | dimZ () const |
| |
|
void | setVoxelSize (float x, float y, float z) |
| |
|
const physx::PxVec3 & | voxelSize () const |
| |
|
float | voxelSizeX () const |
| |
|
float | voxelSizeY () const |
| |
|
float | voxelSizeZ () const |
| |
|
physx::PxVec3 | extents () const |
| |
|
void | setVoxel (int x, int y, int z, bool yes=true) |
| |
|
bool | voxel (int x, int y, int z) const |
| |
|
void | clearVoxels () |
| |
|
void | setFloorVoxels (int layers) |
| |
|
void | setWaveVoxels () |
| |
|
void | voxelize (const physx::PxGeometry &geom, const physx::PxTransform &pose, bool add=true) |
| |
|
physx::PxVec3 | voxelPos (int x, int y, int z) const |
| |
|
void | pointCoords (const physx::PxVec3 &p, int &x, int &y, int &z) const |
| |
|
void | getVoxelRegion (const physx::PxBounds3 &b, int &sx, int &sy, int &sz, int &ex, int &ey, int &ez) const |
| |
| virtual DECLARE_CUSTOM_GEOMETRY_TYPE physx::PxBounds3 | getLocalBounds (const physx::PxGeometry &) const |
| | Return local bounds.
|
| |
| virtual bool | generateContacts (const physx::PxGeometry &geom0, const physx::PxGeometry &geom1, const physx::PxTransform &pose0, const physx::PxTransform &pose1, const physx::PxReal contactDistance, const physx::PxReal meshContactMargin, const physx::PxReal toleranceLength, physx::PxContactBuffer &contactBuffer) const |
| | Contacts generation. Generate collision contacts between two geometries in given poses.
|
| |
|
virtual physx::PxU32 | raycast (const physx::PxVec3 &origin, const physx::PxVec3 &unitDir, const physx::PxGeometry &geom, const physx::PxTransform &pose, physx::PxReal maxDist, physx::PxHitFlags hitFlags, physx::PxU32 maxHits, physx::PxGeomRaycastHit *rayHits, physx::PxU32 stride, physx::PxRaycastThreadContext *) const |
| |
| virtual bool | overlap (const physx::PxGeometry &geom0, const physx::PxTransform &pose0, const physx::PxGeometry &geom1, const physx::PxTransform &pose1, physx::PxOverlapThreadContext *) const |
| | Overlap. Test if geometries overlap.
|
| |
|
virtual bool | sweep (const physx::PxVec3 &unitDir, const physx::PxReal maxDist, const physx::PxGeometry &geom0, const physx::PxTransform &pose0, const physx::PxGeometry &geom1, const physx::PxTransform &pose1, physx::PxGeomSweepHit &sweepHit, physx::PxHitFlags hitFlags, const physx::PxReal inflation, physx::PxSweepThreadContext *) const |
| |
| virtual void | visualize (const physx::PxGeometry &, physx::PxRenderOutput &, const physx::PxTransform &, const physx::PxBounds3 &) const |
| | Visualize custom geometry for debugging. Optional.
|
| |
| virtual void | computeMassProperties (const physx::PxGeometry &, physx::PxMassProperties &) const |
| | Compute custom geometry mass properties. For geometries usable with dynamic rigidbodies.
|
| |
| virtual bool | usePersistentContactManifold (const physx::PxGeometry &, physx::PxReal &) const |
| | Compatible with PhysX's PCM feature. Allows to optimize contact generation.
|
| |
| virtual Type | getCustomType () const =0 |
| | Return custom type. The type purpose is for user to differentiate custom geometries. Not used by PhysX.
|
| |
| virtual PxU32 | raycast (const PxVec3 &origin, const PxVec3 &unitDir, const PxGeometry &geom, const PxTransform &pose, PxReal maxDist, PxHitFlags hitFlags, PxU32 maxHits, PxGeomRaycastHit *rayHits, PxU32 stride, PxRaycastThreadContext *threadContext) const =0 |
| | Raycast. Cast a ray against the geometry in given pose.
|
| |
| virtual bool | sweep (const PxVec3 &unitDir, const PxReal maxDist, const PxGeometry &geom0, const PxTransform &pose0, const PxGeometry &geom1, const PxTransform &pose1, PxGeomSweepHit &sweepHit, PxHitFlags hitFlags, const PxReal inflation, PxSweepThreadContext *threadContext) const =0 |
| | Sweep. Sweep one geometry against the other.
|
| |
|
PX_INLINE void * | operator new (size_t, void *address) |
| |
|
PX_INLINE void | operator delete (void *, void *) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| |
|
PX_INLINE void | operator delete (void *ptr) |
| |
|
PX_INLINE void | operator delete[] (void *ptr) |
| |