Navigation
Unreal Engine C++ API Reference > Editor > CurveEditor > Filters > UCurveEditorFilterBase > ApplyFilter
References
Module | CurveEditor |
Header | /Engine/Source/Editor/CurveEditor/Public/Filters/CurveEditorFilterBase.h |
Include | #include "Filters/CurveEditorFilterBase.h" |
void ApplyFilter ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FCurveEditor](API\Editor\CurveEditor\FCurveEditor) > InCurveEditor, [FCurveModelID](API\Editor\CurveEditor\FCurveModelID) InCurve, [TMap](API\Runtime\Core\Containers\TMap)< [FCurveModelID](API\Editor\CurveEditor\FCurveModelID), [FKeyHandleSet](API\Editor\CurveEditor\FKeyHandleSet) > & OutKeysToSelect )
Remarks
Applies the filter to all keys on the specified curve.
Parameters
Name | Description |
---|---|
InCurveEditor | The curve editor that owns the FCurveModelIDs to operate on. |
InCurve | The curve to operate on. |
OutKeysToSelect | The filter will empty and initialize the set and return you a set of curves and handles 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. |