Navigation
API > API/Editor > API/Editor/CurveEditor
Inheritance Hierarchy
- FCurveModel
- FRichCurveEditorModel
- FRichCurveEditorModelRaw
- FWaveTableCurveModel
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/RichCurveEditorModel.h |
| Include | #include "RichCurveEditorModel.h" |
Syntax
class FRichCurveEditorModel : public FCurveModel
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRichCurveEditorModel
(
UObject* InOwner |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRichCurve & | |||
| FRichCurve & | GetRichCurve () |
Get the rich curve we are operating on. | |
| bool | IsValid () |
Check for whether this rich curve is valid. | |
| void | SetClampInputRange
(
TAttribute< TRange< double >> InClampInputRange |
Set a range to clamp key input values. |
Overridden from FCurveModel
| Type | Name | Description | |
|---|---|---|---|
| void | AddKeys
(
TArrayView< const FKeyPosition > InPositions, |
Add keys to this curve | |
| TUniquePtr< IBufferedCurveModel > | Creates a copy of this curve, stored in a minimal buffered curve object. | ||
| void | CreateKeyProxies
(
TArrayView< const FKeyHandle > InKeyHandles, |
Create key proxy objects for the specified key handles. | |
| void | DrawCurve
(
const FCurveEditor& CurveEditor, |
Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn | |
| bool | Evaluate
(
double InTime, |
Evaluate this curve at the specified time | |
| const void * | GetCurve () |
Access the raw pointer of the curve data | |
| void | GetCurveAttributes
(
FCurveAttributes& OutAttributes |
Retrieve curve attributes for this curve | |
| void | GetKeyAttributes
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve all key attributes that pertain to the specified input key handles | |
| void | GetKeyDrawInfo
(
ECurvePointType PointType, |
Populate the specified draw info structure with data describing how to draw the specified point type | |
| void | GetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve all key positions that pertain to the specified input key handles | |
| void | GetKeys
(
const FCurveEditor& CurveEditor, |
Retrieve all keys that lie in the specified time and value range | |
| void | GetNeighboringKeys
(
const FKeyHandle InKeyHandle, |
Get neighboring keys given the key handle | |
| int32 | GetNumKeys () |
Get the number of keys | |
| void | GetTimeRange
(
double& MinTime, |
Get range of input time. | |
| void | GetValueRange
(
double& MinValue, |
Get range of output values. | |
| void | Modify () |
Explicitly modify the curve data. Called before any change is made to the curve. | |
| void | RemoveKeys
(
TArrayView< const FKeyHandle > InKeys |
Remove all the keys with the specified key handles from this curve | |
| void | SetCurveAttributes
(
const FCurveAttributes& InAttributes |
Assign curve attributes for this curve | |
| void | SetKeyAttributes
(
TArrayView< const FKeyHandle > InKeys, |
Assign key attributes for the specified key handles | |
| void | SetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Assign key positions for the specified key handles |