UCurveEditorFilterBase::ApplyFilter

Applies the filter to all keys on the specified curves and specified keys.

Windows
MacOS
Linux

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/Filters/CurveEditorFilterBase.h

Include

#include "Filters/CurveEditorFilterBase.h"

Syntax

void ApplyFilter
(
    TSharedRef< FCurveEditor > InCurveEditor,
    const TMap< FCurveModelID, FKeyHandleSet > & InKeysToOperateOn,
    TMap< FCurveModelID, FKeyHandleSet > & OutKeysToSelect
)

Remarks

Applies the filter to all keys on the specified curves and specified keys. 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. Be warned that many filter operations operate on ranges so the specified keys may be interpreted as a min/max bounds by a filter and all keys in that curve between the two may get selected.

Parameters

Parameter

Description

InCurveEditor

The curve editor that owns the FCurveModelIDs to operate on.

InKeysToOperateOn

The set of curves to operate on and the keys associated with each curve that the user wishes to apply the filter to.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss