FRichCurve::AddKey

Add a new key to the curve with the supplied Time and Value. Returns the handle of the new key.

Windows
MacOS
Linux

Override Hierarchy

FRealCurve::AddKey()

FRichCurve::AddKey()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Curves/RichCurve.h

Include

#include "Curves/RichCurve.h"

Source

/Engine/Source/Runtime/Engine/Private/Curves/RichCurve.cpp

Syntax

virtual FKeyHandle AddKey
(
    float InTime,
    float InValue,
    const bool bUnwindRotation,
    FKeyHandle KeyHandle
)

Remarks

Add a new key to the curve with the supplied Time and Value. Returns the handle of the new key.

Parameters

Parameter

Description

bUnwindRotation

When true, the value will be treated like a rotation value in degrees, and will automatically be unwound to prevent flipping 360 degrees from the previous key

KeyHandle

Optionally can specify what handle this new key should have, otherwise, it'll make a new one

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback