Navigation
API > API/Runtime > API/Runtime/Core
Interface that allows the CurveEditor to edit this type of object.
| Name | FCurveEdInterface |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/CurveEdInterface.h |
| Include Path | #include "Math/CurveEdInterface.h" |
Syntax
class FCurveEdInterface
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 CreateNewKey
(
float KeyIn |
Add a new key to the curve with the specified input. | Math/CurveEdInterface.h | |
virtual void DeleteKey
(
int32 KeyIndex |
Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys. | Math/CurveEdInterface.h | |
virtual float EvalSub
(
int32 SubIndex, |
Evaluate a subcurve at an arbitary point. | Math/CurveEdInterface.h | |
virtual void GetInRange
(
float& MinIn, |
Get input range of keys. Outside this region curve continues constantly the start/end values. | Math/CurveEdInterface.h | |
| Provides the color for the given key at the given sub-curve. | Math/CurveEdInterface.h | ||
virtual float GetKeyIn
(
int32 KeyIndex |
Get the input value for the Key with the specified index. | Math/CurveEdInterface.h | |
virtual EInterpCurveMode GetKeyInterpMode
(
int32 KeyIndex |
Get the interpolation mode of the specified keyframe. | Math/CurveEdInterface.h | |
virtual float GetKeyOut
(
int32 SubIndex, |
Get the output value for the key with the specified index on the specified sub-curve. | Math/CurveEdInterface.h | |
virtual int32 GetNumKeys() |
Get number of keyframes in curve. | Math/CurveEdInterface.h | |
virtual int32 GetNumSubCurves () |
Get number of 'sub curves' in this Curve. | Math/CurveEdInterface.h | |
virtual void GetOutRange
(
float& MinOut, |
Get overall range of output values. | Math/CurveEdInterface.h | |
virtual FColor GetSubCurveButtonColor
(
int32 SubCurveIndex, |
Provides the color for the sub-curve button that is present on the curve tab. | Math/CurveEdInterface.h | |
virtual void GetTangents
(
int32 SubIndex, |
Get the incoming and outgoing tangent for the given subcurve and key. | Math/CurveEdInterface.h | |
virtual int32 SetKeyIn
(
int32 KeyIndex, |
Set the input value of the specified Key. | Math/CurveEdInterface.h | |
virtual void SetKeyInterpMode
(
int32 KeyIndex, |
Set the method to use for interpolating between the give keyframe and the next one. | Math/CurveEdInterface.h | |
virtual void SetKeyOut
(
int32 SubIndex, |
Set the output values of the specified key. | Math/CurveEdInterface.h | |
virtual void SetTangents
(
int32 SubIndex, |
Set the incoming and outgoing tangent for the given subcurve and key. | Math/CurveEdInterface.h |