Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Produce a set of particles and their shapes that overlap the query bounds and pass the particle and shape filters.
@TParam TParticleFilter a particle that returns true to check a particle for overlaps. Signature bool(const FGeometryParticleHandle*)
@TParam TShapeFilter a shape that returns true to check a particle for overlaps. Signature bool(const FPerShapeData*, const FImplicitObject*)
@TParam TOverlapCollector an overlap collector functor with the signature void(const FSimOverlapParticleShape&)
| Name | Chaos::Private::SimOverlapBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/SimSweep.h |
| Include Path | #include "Chaos/Collision/SimSweep.h" |
namespace Chaos
{
namespace Private
{
template<typename TParticleFilter, typename TShapeFilter, typename TOverlapCollector>
void Chaos::Private::SimOverlapBounds
(
ISpatialAcceleration < FAccelerationStructureHandle , FReal, 3 > * SpatialAcceleration,
const FAABB3 & QueryBounds,
TParticleFilter & ParticleFilter,
TShapeFilter & ShapeFilter,
TOverlapCollector & OverlapCollector
)
}
}