#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CastRayVisitorCollector (const RayCast &inRay, const RayCastSettings &inRayCastSettings, const CompoundShape *inShape, const SubShapeIDCreator &inSubShapeIDCreator, CastRayCollector &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.
|
|
JPH_INLINE Vec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
| Test ray against 4 bounding boxes and returns the distance where the ray enters the bounding box.
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Test the ray against a single subshape.
|
|
◆ CastRayVisitorCollector()
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CastRayVisitorCollector::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Test ray against 4 bounding boxes and returns the distance where the ray enters the bounding box.
◆ VisitShape()
JPH_INLINE void CompoundShape::CastRayVisitorCollector::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the ray against a single subshape.
◆ mCollector
◆ mInvDirection
◆ mRay
const RayCast& CompoundShape::CastRayVisitorCollector::mRay |
◆ mRayCastSettings
◆ mShapeFilter
const ShapeFilter& CompoundShape::CastRayVisitorCollector::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CastRayVisitorCollector::mSubShapeBits |
◆ mSubShapeIDCreator
The documentation for this struct was generated from the following file: