Navigation
API > API/Editor > API/Editor/CurveEditor
Utility for selectively capturing state of curves based on some ECurveChangeFlags. Intended for constructing either a FCurvesSnapshot or FCurveChangeDiff.
| Name | FCurvesSnapshotBuilder |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/Keys/CurvesSnapshotBuilder.h |
| Include Path | #include "Modification/Keys/CurvesSnapshotBuilder.h" |
Syntax
struct FCurvesSnapshotBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurvesSnapshotBuilder
(
TWeakPtr< FCurveEditor > InCurveEditor, |
Modification/Keys/CurvesSnapshotBuilder.h | ||
FCurvesSnapshotBuilder
(
TWeakPtr< FCurveEditor > InCurveEditor, |
Util constructor for tracking a single curve. | Modification/Keys/CurvesSnapshotBuilder.h | |
FCurvesSnapshotBuilder
(
TWeakPtr< FCurveEditor > InCurveEditor, |
Util constructor for tracking a container of curves (TSet, TMap, TArray, TArrayView, TConstArrayView) | Modification/Keys/CurvesSnapshotBuilder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CapturedDataFlags | const ECurveChangeFlags | The operations that we should diff with. | Modification/Keys/CurvesSnapshotBuilder.h | |
| Snapshot | FCurvesSnapshot | Data that ComputeDiff diffs against. | Modification/Keys/CurvesSnapshotBuilder.h | |
| WeakCurveEditor | const TWeakPtr< FCurveEditor > | Needed to look up curves and compare state. | Modification/Keys/CurvesSnapshotBuilder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurvesSnapshotBuilder & TrackAllCurves() |
Tracks all curves. | Modification/Keys/CurvesSnapshotBuilder.h | |
FCurvesSnapshotBuilder & TrackCurve
(
const FCurveModelID& InCurveId |
Tracks all keys on InCurveModel. | Modification/Keys/CurvesSnapshotBuilder.h | |
FCurvesSnapshotBuilder & TrackCurve
(
const FCurveModelID& InCurveId, |
Tracks only the specified keys. Incompatible with EKeyChangeOperationFlags::AddKeys. | Modification/Keys/CurvesSnapshotBuilder.h | |
FCurvesSnapshotBuilder & TrackCurves
(
TConstArrayView< FCurveModelID > InCurves |
Modification/Keys/CurvesSnapshotBuilder.h | ||
FCurvesSnapshotBuilder & TrackCurves
(
const TSet< FCurveModelID >& InCurves |
Modification/Keys/CurvesSnapshotBuilder.h | ||
FCurvesSnapshotBuilder & TrackCurves
(
const TMap< FCurveModelID, T >& InCurveMapping |
Modification/Keys/CurvesSnapshotBuilder.h | ||
FCurvesSnapshotBuilder & TrackSelectedCurves() |
Tracks all curves that are selected: adds all keys of those curves. | Modification/Keys/CurvesSnapshotBuilder.h | |
| Tracks all curves that are selected: adds only their selected keys. | Modification/Keys/CurvesSnapshotBuilder.h |