Navigation
Unreal Engine C++ API Reference > Editor > CurveEditor
References
Module | CurveEditor |
Header | /Engine/Source/Editor/CurveEditor/Public/CurveEditorSelection.h |
Include | #include "CurveEditorSelection.h" |
Syntax
struct FKeyHandleSet
Remarks
A set of key handles implemented as a sorted array for transparent passing to TArrayView<> APIs. Lookup is achieved via binary search: O(log(n)).
Functions
Type | Name | Description |
---|---|---|
void | Add ( FKeyHandle Handle, ECurvePointType PointType ) | Add a new key handle to this set |
TArrayView< ... | AsArray () | Retrieve a constant view of this set as an array |
bool | Contains ( FKeyHandle Handle, ECurvePointType PointType ) | Check whether the specified handle exists in this set |
int32 | Num () | Retrieve the number of handles in this set |
ECurvePointT... | PointType ( FKeyHandle Handle ) | Retrieve the point type for this handle |
void | Remove ( FKeyHandle Handle, ECurvePointType PointType ) | Remove a handle from this set |
void | Toggle ( FKeyHandle Handle, ECurvePointType PointType ) | Remove a handle from this set if it already exists, otherwise add it to the set |