Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
MeshShape::MSGetTrianglesContext Struct Reference

Public Member Functions

JPH_INLINE MSGetTrianglesContext (const MeshShape *inShape, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale)
 
JPH_INLINE bool ShouldAbort () const
 
JPH_INLINE bool ShouldVisitNode (int inStackTop) const
 
JPH_INLINE int VisitNodes (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ, UVec4 &ioProperties, int inStackTop) const
 
JPH_INLINE void VisitTriangles (const TriangleCodec::DecodingContext &ioContext, const void *inTriangles, int inNumTriangles, uint32 inTriangleBlockID)
 

Public Attributes

NodeCodec::DecodingContext mDecodeCtx
 
const MeshShapemShape
 
OrientedBox mLocalBox
 
Vec3 mMeshScale
 
Mat44 mLocalToWorld
 
int mMaxTrianglesRequested
 
Float3mTriangleVertices
 
int mNumTrianglesFound
 
const PhysicsMaterial ** mMaterials
 
bool mShouldAbort
 
bool mIsInsideOut
 

Constructor & Destructor Documentation

◆ MSGetTrianglesContext()

JPH_INLINE MeshShape::MSGetTrianglesContext::MSGetTrianglesContext ( const MeshShape inShape,
const AABox inBox,
Vec3Arg  inPositionCOM,
QuatArg  inRotation,
Vec3Arg  inScale 
)
inline

Member Function Documentation

◆ ShouldAbort()

JPH_INLINE bool MeshShape::MSGetTrianglesContext::ShouldAbort ( ) const
inline

◆ ShouldVisitNode()

JPH_INLINE bool MeshShape::MSGetTrianglesContext::ShouldVisitNode ( int  inStackTop) const
inline

◆ VisitNodes()

JPH_INLINE int MeshShape::MSGetTrianglesContext::VisitNodes ( Vec4Arg  inBoundsMinX,
Vec4Arg  inBoundsMinY,
Vec4Arg  inBoundsMinZ,
Vec4Arg  inBoundsMaxX,
Vec4Arg  inBoundsMaxY,
Vec4Arg  inBoundsMaxZ,
UVec4 ioProperties,
int  inStackTop 
) const
inline

◆ VisitTriangles()

JPH_INLINE void MeshShape::MSGetTrianglesContext::VisitTriangles ( const TriangleCodec::DecodingContext ioContext,
const void *  inTriangles,
int  inNumTriangles,
uint32  inTriangleBlockID 
)
inline

Member Data Documentation

◆ mDecodeCtx

NodeCodec::DecodingContext MeshShape::MSGetTrianglesContext::mDecodeCtx

◆ mIsInsideOut

bool MeshShape::MSGetTrianglesContext::mIsInsideOut

◆ mLocalBox

OrientedBox MeshShape::MSGetTrianglesContext::mLocalBox

◆ mLocalToWorld

Mat44 MeshShape::MSGetTrianglesContext::mLocalToWorld

◆ mMaterials

const PhysicsMaterial** MeshShape::MSGetTrianglesContext::mMaterials

◆ mMaxTrianglesRequested

int MeshShape::MSGetTrianglesContext::mMaxTrianglesRequested

◆ mMeshScale

Vec3 MeshShape::MSGetTrianglesContext::mMeshScale

◆ mNumTrianglesFound

int MeshShape::MSGetTrianglesContext::mNumTrianglesFound

◆ mShape

const MeshShape* MeshShape::MSGetTrianglesContext::mShape

◆ mShouldAbort

bool MeshShape::MSGetTrianglesContext::mShouldAbort

◆ mTriangleVertices

Float3* MeshShape::MSGetTrianglesContext::mTriangleVertices

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