#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CastShapeVisitor (const ShapeCast &inShapeCast, const ShapeCastSettings &inShapeCastSettings, const CompoundShape *inShape, Vec3Arg inScale, const ShapeFilter &inShapeFilter, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, CastShapeCollector &ioCollector) |
|
JPH_INLINE bool | ShouldAbort () const |
| Returns true when collision detection should abort because it's not possible to find a better hit. More...
|
|
JPH_INLINE Vec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
| Tests the shape cast against 4 bounding boxes, returns the distance along the shape cast where the shape first enters the bounding box. More...
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Test the cast shape against a single subshape. More...
|
|
◆ CastShapeVisitor()
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CastShapeVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Tests the shape cast against 4 bounding boxes, returns the distance along the shape cast where the shape first enters the bounding box.
◆ VisitShape()
JPH_INLINE void CompoundShape::CastShapeVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the cast shape against a single subshape.
◆ mBoxCenter
Vec3 CompoundShape::CastShapeVisitor::mBoxCenter |
◆ mBoxExtent
Vec3 CompoundShape::CastShapeVisitor::mBoxExtent |
◆ mCenterOfMassTransform2
Mat44 CompoundShape::CastShapeVisitor::mCenterOfMassTransform2 |
◆ mCollector
◆ mInvDirection
◆ mScale
Vec3 CompoundShape::CastShapeVisitor::mScale |
◆ mShapeCast
const ShapeCast& CompoundShape::CastShapeVisitor::mShapeCast |
◆ mShapeCastSettings
◆ mShapeFilter
const ShapeFilter& CompoundShape::CastShapeVisitor::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CastShapeVisitor::mSubShapeBits |
◆ mSubShapeIDCreator1
◆ mSubShapeIDCreator2
The documentation for this struct was generated from the following file: