RavEngine
Loading...
Searching...
No Matches
physx::Gu::SweepBoxMeshHitCallback Struct Reference
Inheritance diagram for physx::Gu::SweepBoxMeshHitCallback:
[legend]
Collaboration diagram for physx::Gu::SweepBoxMeshHitCallback:
[legend]

Public Member Functions

 SweepBoxMeshHitCallback (CallbackMode::Enum mode_, const PxMat34Padded &meshToBox, PxReal distance, bool bothTriangleSidesCollide, const Box &box, const PxVec3 &localMotion, const PxVec3 &localDir, const PxVec3 &unitDir, const PxHitFlags &hitFlags, const PxReal inflation, bool flipNormal, float distCoef)
 
virtual PxAgain processHit (const PxGeomRaycastHit &meshHit, const PxVec3 &lp0, const PxVec3 &lp1, const PxVec3 &lp2, PxReal &shrinkMaxT, const PxU32 *)
 
bool finalizeHit (PxGeomSweepHit &sweepHit, const PxTriangleMeshGeometry &triMeshGeom, const PxTransform &pose, const PxTransform &boxTransform, const PxVec3 &localDir, bool meshBothSides, bool isDoubleSided) const
 
- Public Member Functions inherited from physx::Gu::SweepShapeMeshHitCallback
 SweepShapeMeshHitCallback (CallbackMode::Enum mode, const PxHitFlags &hitFlags, bool flipNormal, float distCoef)
 
void operator= (const SweepShapeMeshHitCallback &)
 
- Public Member Functions inherited from physx::Gu::MeshHitCallback< PxGeomRaycastHit >
 MeshHitCallback (CallbackMode::Enum aMode)
 
PX_FORCE_INLINE bool inAnyMode () const
 
PX_FORCE_INLINE bool inClosestMode () const
 
PX_FORCE_INLINE bool inMultipleMode () const
 

Public Attributes

const PxMat34Padded & mMeshToBox
 
PxReal mDist
 
PxReal mDist0
 
physx::aos::FloatV mDistV
 
const Box & mBox
 
const PxVec3 & mLocalDir
 
const PxVec3 & mWorldUnitDir
 
PxReal mInflation
 
PxTriangle mHitTriangle
 
physx::aos::Vec3V mMinClosestA
 
physx::aos::Vec3V mMinNormal
 
physx::aos::Vec3V mLocalMotionV
 
PxU32 mMinTriangleIndex
 
PxVec3 mOneOverDir
 
const bool mBothTriangleSidesCollide
 
- Public Attributes inherited from physx::Gu::SweepShapeMeshHitCallback
const PxHitFlags mHitFlags
 
bool mStatus
 
bool mInitialOverlap
 
bool mFlipNormal
 
PxReal mDistCoeff
 
- Public Attributes inherited from physx::Gu::MeshHitCallback< PxGeomRaycastHit >
CallbackMode::Enum mode
 

Member Function Documentation

◆ processHit()

PxAgain SweepBoxMeshHitCallback::processHit ( const PxGeomRaycastHit &  meshHit,
const PxVec3 &  lp0,
const PxVec3 &  lp1,
const PxVec3 &  lp2,
PxReal &  shrinkMaxT,
const PxU32 *   
)
virtual

The documentation for this struct was generated from the following files: