#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CollideShapeVsCompoundVisitor (const Shape *inShape1, const CompoundShape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, const CollideShapeSettings &inCollideShapeSettings, CollideShapeCollector &ioCollector, const ShapeFilter &inShapeFilter) |
|
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 UVec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
| Tests the bounds of shape 1 vs 4 bounding boxes, returns true for the ones that intersect. More...
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Test the shape against a single subshape. More...
|
|
◆ CollideShapeVsCompoundVisitor()
JPH_INLINE CompoundShape::CollideShapeVsCompoundVisitor::CollideShapeVsCompoundVisitor |
( |
const Shape * |
inShape1, |
|
|
const CompoundShape * |
inShape2, |
|
|
Vec3Arg |
inScale1, |
|
|
Vec3Arg |
inScale2, |
|
|
Mat44Arg |
inCenterOfMassTransform1, |
|
|
Mat44Arg |
inCenterOfMassTransform2, |
|
|
const SubShapeIDCreator & |
inSubShapeIDCreator1, |
|
|
const SubShapeIDCreator & |
inSubShapeIDCreator2, |
|
|
const CollideShapeSettings & |
inCollideShapeSettings, |
|
|
CollideShapeCollector & |
ioCollector, |
|
|
const ShapeFilter & |
inShapeFilter |
|
) |
| |
|
inline |
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CollideShapeVsCompoundVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Tests the bounds of shape 1 vs 4 bounding boxes, returns true for the ones that intersect.
◆ VisitShape()
JPH_INLINE void CompoundShape::CollideShapeVsCompoundVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the shape against a single subshape.
◆ mBoundsOf1InSpaceOf2
AABox CompoundShape::CollideShapeVsCompoundVisitor::mBoundsOf1InSpaceOf2 |
◆ mCollector
◆ mCollideShapeSettings
◆ mScale1
Vec3 CompoundShape::CollideShapeVsCompoundVisitor::mScale1 |
◆ mScale2
Vec3 CompoundShape::CollideShapeVsCompoundVisitor::mScale2 |
◆ mShape1
const Shape* CompoundShape::CollideShapeVsCompoundVisitor::mShape1 |
◆ mShapeFilter
const ShapeFilter& CompoundShape::CollideShapeVsCompoundVisitor::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CollideShapeVsCompoundVisitor::mSubShapeBits |
◆ mSubShapeIDCreator1
◆ mSubShapeIDCreator2
◆ mTransform1
Mat44 CompoundShape::CollideShapeVsCompoundVisitor::mTransform1 |
◆ mTransform2
Mat44 CompoundShape::CollideShapeVsCompoundVisitor::mTransform2 |
The documentation for this struct was generated from the following file: