Navigation
API > API/Editor > API/Editor/CurveEditor
| Name | FRichCurveEditorModel |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/RichCurveEditorModel.h |
| Include Path | #include "RichCurveEditorModel.h" |
Syntax
class FRichCurveEditorModel : public FCurveModel
Inheritance Hierarchy
- FCurveModel → FRichCurveEditorModel
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRichCurveEditorModel
(
UObject* InOwner |
RichCurveEditorModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClampInputRange | TAttribute< TRange< double > > | RichCurveEditorModel.h | ||
| WeakOwner | TWeakObjectPtr | RichCurveEditorModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FRichCurve & GetReadOnlyRichCurve() |
RichCurveEditorModel.h | ||
FRichCurve & GetRichCurve() |
Get the rich curve we are operating on. | RichCurveEditorModel.h | |
bool IsValid () |
Check for whether this rich curve is valid. | RichCurveEditorModel.h | |
void SetClampInputRange
(
TAttribute< TRange< double > > InClampInputRange |
Set a range to clamp key input values. | RichCurveEditorModel.h |
Overridden from FCurveModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddKeys
(
TArrayView< const FKeyPosition > InPositions, |
Add keys to this curve | RichCurveEditorModel.h | |
virtual TUniquePtr< IBufferedCurveModel > CreateBufferedCurveCopy () |
Creates a copy of this curve, stored in a minimal buffered curve object. | RichCurveEditorModel.h | |
virtual void CreateKeyProxies
(
TWeakPtr< FCurveEditor > InWeakCurveEditor, |
Create key proxy objects for the specified key handles. | RichCurveEditorModel.h | |
virtual 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 | RichCurveEditorModel.h | |
virtual bool Evaluate
(
double InTime, |
Evaluate this curve at the specified time | RichCurveEditorModel.h | |
virtual const void * GetCurve() |
Access the raw pointer of the curve data | RichCurveEditorModel.h | |
virtual void GetCurveAttributes
(
FCurveAttributes& OutAttributes |
Retrieve curve attributes for this curve | RichCurveEditorModel.h | |
virtual TPair< ERichCurveInterpMode, ERichCurveTangentMode > GetInterpolationMode
(
const double& InTime, |
Get the interpolation mode to use at a specified time | RichCurveEditorModel.h | |
virtual void GetKeyAttributes
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve ALL key attributes that pertain to the specified input key handles. | RichCurveEditorModel.h | |
virtual void GetKeyAttributesExcludingAutoComputed
(
TArrayView< const FKeyHandle > InKeys, |
Gets the attributes set by the user. | RichCurveEditorModel.h | |
virtual void GetKeyDrawInfo
(
ECurvePointType PointType, |
Populate the specified draw info structure with data describing how to draw the specified point type | RichCurveEditorModel.h | |
virtual void GetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve all key positions that pertain to the specified input key handles | RichCurveEditorModel.h | |
virtual void GetKeys
(
double MinTime, |
Retrieve all keys that lie in the specified time and value range | RichCurveEditorModel.h | |
virtual void GetNeighboringKeys
(
const FKeyHandle InKeyHandle, |
Get neighboring keys given the key handle | RichCurveEditorModel.h | |
virtual int32 GetNumKeys() |
Get the number of keys | RichCurveEditorModel.h | |
virtual void GetTimeRange
(
double& MinTime, |
Get range of input time. | RichCurveEditorModel.h | |
virtual void GetValueRange
(
double& MinValue, |
Get range of output values. | RichCurveEditorModel.h | |
virtual void Modify() |
Explicitly modify the curve data. Called before any change is made to the curve. | RichCurveEditorModel.h | |
virtual void RemoveKeys
(
TArrayView< const FKeyHandle > InKeys, |
Remove all the keys with the specified key handles from this curve | RichCurveEditorModel.h | |
virtual void SetCurveAttributes
(
const FCurveAttributes& InAttributes |
Assign curve attributes for this curve | RichCurveEditorModel.h | |
virtual void SetKeyAttributes
(
TArrayView< const FKeyHandle > InKeys, |
Assign key attributes for the specified key handles | RichCurveEditorModel.h | |
virtual void SetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Assign key positions for the specified key handles | RichCurveEditorModel.h |