Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FCurveModel
- FCurveModel::AddKeys()
- FKeyBarCurveModel::AddKeys()
- FRichCurveEditorModel::AddKeys()
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
| Include | #include "CurveModel.h" |
void AddKeys
(
TArrayView< const FKeyPosition > InPositions,
TArrayView< const FKeyAttributes > InAttributes,
TArrayView< TOptional< FKeyHandle > > * OutKeyHandles
)
Remarks
Add keys to this curve
Parameters
| Name | Description |
|---|---|
| InPositions | Key positions for the new keys |
| InAttributes | Key attributes for the new keys, one per key position |
| OutKeyHandles | (Optional) Pointer to an array view of size InPositions.Num() that should be populated with newly added key handles |