Navigation
API > API/Editor > API/Editor/CurveEditor
Flags about the types of changes that can be made to a curve.
| Name | UE::CurveEditor::ECurveChangeFlags |
| Type | enum |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/Keys/ECurveChangeFlags.h |
| Include Path | #include "Modification/Keys/ECurveChangeFlags.h" |
Syntax
namespace UE
{
namespace CurveEditor
{
enum ECurveChangeFlags
{
None,
MoveKeys = 1 << 0,
AddKeys = 1 << 1,
RemoveKeys = 1 << 2,
KeyAttributes = 1 << 3,
CurveAttributes = 1 << 4,
MoveKeysAndRemoveStackedKeys = MoveKeys | RemoveKeys,
KeyData = MoveKeys | AddKeys | RemoveKeys | KeyAttributes,
All = KeyData | CurveAttributes,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| MoveKeys | Detect change of FKeyPosition for FKeyHandles that are present before and after the change. |
| AddKeys | Detect FKeyHandles that are present after the change, but were not present before the change. |
| RemoveKeys | Detect FKeyHandles that are not present after the change, but were present before the change. |
| KeyAttributes | Detect FKeyAttributes that are different after the change. |
| CurveAttributes | Detect changes to the curve attributes, e.g. pre and post extrapolation, etc. |
| MoveKeysAndRemoveStackedKeys | Use when you move keys and the keys may end up being stacked (i.e. have the same x positions). |
| KeyData | Track anything that modifies key data. |
| All | All data should be tracked. |