UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FChaosRemovalEventFilter Class Reference

#include <ChaosRemovalEventFilter.h>

+ Inheritance diagram for FChaosRemovalEventFilter:

Public Member Functions

 FChaosRemovalEventFilter (FChaosRemovalEventRequestSettings *FilterSettingsIn)
 
virtual GEOMETRYCOLLECTIONENGINE_API void FilterEvents (const FTransform &ChaosComponentTransform, const Chaos::FRemovalDataArray &RawRemovalDataArray) override
 
virtual GEOMETRYCOLLECTIONENGINE_API void SortEvents (TArray< FChaosRemovalEventData > &InOutRemovalEvents, EChaosRemovalSortMethod SortMethod, const FTransform &InTransform) override
 
- Public Member Functions inherited from IChaosEventFilter< Chaos::FRemovalDataArray, TArray< FChaosRemovalEventData >, EChaosRemovalSortMethod >
virtual ~IChaosEventFilter ()
 
virtual void FilterEvents (const Chaos::FRemovalDataArray &RawInputDataArray)
 
const TArray< FChaosRemovalEventData > & GetFilteredResults () const
 
int32 GetNumEvents () const
 
void SetTransform (const FTransform &TransformIn)
 

Additional Inherited Members

- Protected Attributes inherited from IChaosEventFilter< Chaos::FRemovalDataArray, TArray< FChaosRemovalEventData >, EChaosRemovalSortMethod >
TArray< FChaosRemovalEventDataFilteredDataArray
 
FTransform Transform
 

Constructor & Destructor Documentation

◆ FChaosRemovalEventFilter()

FChaosRemovalEventFilter::FChaosRemovalEventFilter ( FChaosRemovalEventRequestSettings FilterSettingsIn)
inline

Member Function Documentation

◆ FilterEvents()

void FChaosRemovalEventFilter::FilterEvents ( const FTransform ChaosComponentTransform,
const Chaos::FRemovalDataArray RawInputDataArray 
)
overridevirtual

Filters the raw events from the physics system to reduce the number supplied to the game systems

Implements IChaosEventFilter< Chaos::FRemovalDataArray, TArray< FChaosRemovalEventData >, EChaosRemovalSortMethod >.

◆ SortEvents()

void FChaosRemovalEventFilter::SortEvents ( TArray< FChaosRemovalEventData > &  InOutFilteredEvents,
EChaosRemovalSortMethod  SortMethod,
const FTransform InTransform 
)
overridevirtual

Optionally Sort events based on increasing or decreasing values of FilteredDataArray fields

Implements IChaosEventFilter< Chaos::FRemovalDataArray, TArray< FChaosRemovalEventData >, EChaosRemovalSortMethod >.


The documentation for this class was generated from the following files: