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

Public Member Functions

 HSGetTrianglesContext (const HeightFieldShape *inShape, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale)
 
bool ShouldAbort () const
 
bool ShouldVisitRangeBlock (int inStackTop) const
 
int VisitRangeBlock (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ, UVec4 &ioProperties, int inStackTop) const
 
void VisitTriangle (uint inX, uint inY, uint inTriangle, Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2)
 

Public Attributes

DecodingContext mDecodeCtx
 
const HeightFieldShape * mShape
 
OrientedBox mLocalBox
 
Vec3 mHeightFieldScale
 
Mat44 mLocalToWorld
 
int mMaxTrianglesRequested
 
Float3 * mTriangleVertices
 
int mNumTrianglesFound
 
const PhysicsMaterial ** mMaterials
 
bool mShouldAbort
 
bool mIsInsideOut
 

Constructor & Destructor Documentation

◆ HSGetTrianglesContext()

HeightFieldShape::HSGetTrianglesContext::HSGetTrianglesContext ( const HeightFieldShape * inShape,
const AABox & inBox,
Vec3Arg inPositionCOM,
QuatArg inRotation,
Vec3Arg inScale )
inline

Member Function Documentation

◆ ShouldAbort()

bool HeightFieldShape::HSGetTrianglesContext::ShouldAbort ( ) const
inline

◆ ShouldVisitRangeBlock()

bool HeightFieldShape::HSGetTrianglesContext::ShouldVisitRangeBlock ( int inStackTop) const
inline

◆ VisitRangeBlock()

int HeightFieldShape::HSGetTrianglesContext::VisitRangeBlock ( Vec4Arg inBoundsMinX,
Vec4Arg inBoundsMinY,
Vec4Arg inBoundsMinZ,
Vec4Arg inBoundsMaxX,
Vec4Arg inBoundsMaxY,
Vec4Arg inBoundsMaxZ,
UVec4 & ioProperties,
int inStackTop ) const
inline

◆ VisitTriangle()

void HeightFieldShape::HSGetTrianglesContext::VisitTriangle ( uint inX,
uint inY,
uint inTriangle,
Vec3Arg inV0,
Vec3Arg inV1,
Vec3Arg inV2 )
inline

Member Data Documentation

◆ mDecodeCtx

DecodingContext HeightFieldShape::HSGetTrianglesContext::mDecodeCtx

◆ mHeightFieldScale

Vec3 HeightFieldShape::HSGetTrianglesContext::mHeightFieldScale

◆ mIsInsideOut

bool HeightFieldShape::HSGetTrianglesContext::mIsInsideOut

◆ mLocalBox

OrientedBox HeightFieldShape::HSGetTrianglesContext::mLocalBox

◆ mLocalToWorld

Mat44 HeightFieldShape::HSGetTrianglesContext::mLocalToWorld

◆ mMaterials

const PhysicsMaterial** HeightFieldShape::HSGetTrianglesContext::mMaterials

◆ mMaxTrianglesRequested

int HeightFieldShape::HSGetTrianglesContext::mMaxTrianglesRequested

◆ mNumTrianglesFound

int HeightFieldShape::HSGetTrianglesContext::mNumTrianglesFound

◆ mShape

const HeightFieldShape* HeightFieldShape::HSGetTrianglesContext::mShape

◆ mShouldAbort

bool HeightFieldShape::HSGetTrianglesContext::mShouldAbort

◆ mTriangleVertices

Float3* HeightFieldShape::HSGetTrianglesContext::mTriangleVertices

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