Module |
|
Header |
/Engine/Source/Editor/CurveEditor/Public/Filters/CurveEditorFilterBase.h |
Include |
#include "Filters/CurveEditorFilterBase.h" |
void ApplyFilter
(
TSharedRef< FCurveEditor > InCurveEditor,
FCurveModelID InCurve,
TArrayView< FKeyHandle > InKeyHandles,
TArray< FKeyHandle > & OutKeysToSelect
)
Applies the filter to all keys on the specified curves. The curves are passed to the filter as a set so that a filter can choose to operate on multiple curves at once if data from other curves is important.
Parameter |
Description |
---|---|
InCurveEditor |
The curve editor that owns the FCurveModelIDs to operate on. |
InCurve |
The curve to operate on. |
OutKeysToSelect |
Returns an array containing the keys that the filter thinks should be selected after operating. This is useful for filters that create or destroy keys as it allows them to maintain the appearance that the selection has not been modified. |