Navigation
API > API/Runtime > API/Runtime/Engine
Interface you implement if you want the CurveEditor to be able to edit curves on you.
| Name | FCurveOwnerInterface |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Curves/CurveOwnerInterface.h |
| Include Path | #include "Curves/CurveOwnerInterface.h" |
Syntax
class FCurveOwnerInterface
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCurveOwnerInterface() |
Curves/CurveOwnerInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetClampedLinearColorValue
(
float InTime |
Evaluate this color curve at the specified time | Curves/CurveOwnerInterface.h | |
virtual FLinearColor GetCurveColor
(
FRichCurveEditInfo CurveInfo |
Curves/CurveOwnerInterface.h | ||
| Curves/CurveOwnerInterface.h | |||
| Returns set of curves to query. Must not release the curves while being edited. | Curves/CurveOwnerInterface.h | ||
void GetCurves
(
TAdderReserverRef< FRichCurveEditInfoConst > Curves |
Returns set of curves to edit. Must not release the curves while being edited. | Curves/CurveOwnerInterface.h | |
virtual FLinearColor GetLinearColorValue
(
float InTime |
Evaluate this color curve at the specified time | Curves/CurveOwnerInterface.h | |
| Returns the owner(s) of the curve | Curves/CurveOwnerInterface.h | ||
virtual bool HasAnyAlphaKeys() |
Curves/CurveOwnerInterface.h | ||
virtual bool HasRichCurves() |
Whether the curves returned by GetCurves are rich or simple curves | Curves/CurveOwnerInterface.h | |
virtual bool IsLinearColorCurve() |
Whether the curve represents a linear color | Curves/CurveOwnerInterface.h | |
bool IsValidCurve
(
FRichCurveEditInfo CurveInfo |
Validates that a previously retrieved curve is still valid for editing. | Curves/CurveOwnerInterface.h | |
void MakeTransactional() |
Called to make curve owner transactional | Curves/CurveOwnerInterface.h | |
void ModifyOwner() |
Called to modify the owner of the curve | Curves/CurveOwnerInterface.h | |
virtual void ModifyOwnerChange() |
Called to modify the owner of the curve during interaction/while being edited. | Curves/CurveOwnerInterface.h | |
void OnCurveChanged
(
const TArray< FRichCurveEditInfo >& ChangedCurveEditInfos |
Called when any of the curves have been changed | Curves/CurveOwnerInterface.h | |
virtual bool RepointCurveOwner
(
const FPackageReloadedEvent& InPackageReloadedEvent, |
Called during package reload to repoint a curve interface asset | Curves/CurveOwnerInterface.h | |
virtual void SetOnCurveChangedIsInteractive
(
bool bInteractive |
Tell the curve owner that calls to OnCurveChanged are from an interactive drag | Curves/CurveOwnerInterface.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool RepointCurveOwnerAsset
(
const FPackageReloadedEvent& InPackageReloadedEvent, |
Default implementation of RepointCurveOwner that can be used with UObject based types that inherit FCurveOwnerInterface | Curves/CurveOwnerInterface.h |