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

Public Member Functions

 SweepConvexMeshHitCallback (const ConvexHullData &hull, const PxMeshScale &convexScale, const Cm::FastVertex2ShapeScaling &meshScale, const PxTransform &convexPose, const PxTransform &meshPose, const PxVec3 &unitDir, const PxReal distance, PxHitFlags hitFlags, const bool bothTriangleSidesCollide, const PxReal inflation, const bool anyHit, float distCoef)
 
virtual PxAgain processHit (const PxGeomRaycastHit &hit, const PxVec3 &av0, const PxVec3 &av1, const PxVec3 &av2, PxReal &shrunkMaxT, const PxU32 *)
 
bool finalizeHit (PxGeomSweepHit &sweepHit, const PxTriangleMeshGeometry &meshGeom, const PxTransform &pose, const PxConvexMeshGeometry &convexGeom, const PxTransform &convexPose, const PxVec3 &unitDir, PxReal inflation, bool isMtd, bool meshBothSides, bool isDoubleSided, bool bothTriangleSidesCollide)
 
- 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

PxTriangle mHitTriangle
 
ConvexHullV mConvexHull
 
physx::aos::PxMatTransformV mMeshToConvex
 
physx::aos::PxTransformV mConvexPoseV
 
const Cm::FastVertex2ShapeScaling & mMeshScale
 
PxGeomSweepHit mSweepHit
 
physx::aos::FloatV mInitialDistance
 
physx::aos::Vec3V mConvexSpaceDir
 
PxVec3 mUnitDir
 
PxVec3 mMeshSpaceUnitDir
 
PxReal mInflation
 
const bool mAnyHit
 
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 SweepConvexMeshHitCallback::processHit ( const PxGeomRaycastHit &  hit,
const PxVec3 &  av0,
const PxVec3 &  av1,
const PxVec3 &  av2,
PxReal &  shrunkMaxT,
const PxU32 *   
)
virtual

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