Navigation
API > API/Editor > API/Editor/CurveEditor
Holds data that is captured to diff a curves previous state to a current state.
Not all data needs to be captured, e.g. Handles, KeyPositions, Attributes can be empty and CurveAttributes unset. It would be pointless to construct this without any members set. If either KeyPositions or Attributes is set, then Handles is also set. Intended to be built using FCurvesSnapshotBuilder and ECurveChangeFlags.
| Name | FCurveDiffingData |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/Keys/Data/CurvesSnapshot.h |
| Include Path | #include "Modification/Keys/Data/CurvesSnapshot.h" |
Syntax
struct FCurveDiffingData : public UE::CurveEditor::FCurveKeyData
Inheritance Hierarchy
- FCurveKeyData → FCurveDiffingData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurveAttributes | TOptional< FCurveAttributes > | The curve attributes if they were captured. | Modification/Keys/Data/CurvesSnapshot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SIZE_T GetAllocatedSize () |
Modification/Keys/Data/CurvesSnapshot.h | ||
bool HasCurveAttributes() |
Modification/Keys/Data/CurvesSnapshot.h | ||
bool HasData() |
Modification/Keys/Data/CurvesSnapshot.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static SIZE_T GetAllocatedSize
(
const TMap< T, FCurveDiffingData >& InMapping |
Modification/Keys/Data/CurvesSnapshot.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Modification/Keys/Data/CurvesSnapshot.h |