FCurveEdInterface

Interface that allows the CurveEditor to edit this type of object.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/CurveEdInterface.h

Include

#include "Math/CurveEdInterface.h"

Syntax

class FCurveEdInterface

Remarks

Interface that allows the CurveEditor to edit this type of object.

Functions

Name Description

Public function Virtual

int32

 

CreateNewKey

(
    float KeyIn
)

Add a new key to the curve with the specified input.

Public function Virtual

void

 

DeleteKey

(
    int32 KeyIndex
)

Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys.

Public function Virtual

float

 

EvalSub

(
    int32 SubIndex,
    float InVal
)

Evaluate a subcurve at an arbitary point.

Public function Virtual Const

void

 

GetInRange

(
    float& MinIn,
    float& MaxIn
)

Get input range of keys. Outside this region curve continues constantly the start/end values.

Public function Virtual

FColor

 

GetKeyColor

(
    int32 SubIndex,
    int32 KeyIndex,
    const FColor& CurveColor
)

Provides the color for the given key at the given sub-curve.

Public function Virtual

float

 

GetKeyIn

(
    int32 KeyIndex
)

Get the input value for the Key with the specified index.

Public function Virtual Const

EInterpCurve...

 

GetKeyInterpMode

(
    int32 KeyIndex
)

Get the interpolation mode of the specified keyframe.

Public function Virtual

float

 

GetKeyOut

(
    int32 SubIndex,
    int32 KeyIndex
)

Get the output value for the key with the specified index on the specified sub-curve.

Public function Virtual Const

int32

 

GetNumKeys()

Get number of keyframes in curve.

Public function Virtual Const

int32

 

GetNumSubCurves()

Get number of 'sub curves' in this Curve.

Public function Virtual Const

void

 

GetOutRange

(
    float& MinOut,
    float& MaxOut
)

Get overall range of output values.

Public function Virtual Const

FColor

 

GetSubCurveButtonColor

(
    int32 SubCurveIndex,
    bool bIsSubCurveHidden
)

Provides the color for the sub-curve button that is present on the curve tab.

Public function Virtual Const

void

 

GetTangents

(
    int32 SubIndex,
    int32 KeyIndex,
    float& ArriveTangent,
    float& LeaveTangent
)

Get the incoming and outgoing tangent for the given subcurve and key.

Public function Virtual

int32

 

SetKeyIn

(
    int32 KeyIndex,
    float NewInVal
)

Set the input value of the specified Key.

Public function Virtual

void

 

SetKeyInterpMode

(
    int32 KeyIndex,
    EInterpCurveMode NewMode
)

Set the method to use for interpolating between the give keyframe and the next one.

Public function Virtual

void

 

SetKeyOut

(
    int32 SubIndex,
    int32 KeyIndex,
    float NewOutVal
)

Set the output values of the specified key.

Public function Virtual

void

 

SetTangents

(
    int32 SubIndex,
    int32 KeyIndex,
    float ArriveTangent,
    float LeaveTangent
)

Set the incoming and outgoing tangent for the given subcurve and key.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss