| FRealCurve::AddKey()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Curves/SimpleCurve.h |
Include |
#include "Curves/SimpleCurve.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Curves/SimpleCurve.cpp |
virtual FKeyHandle AddKey
(
float InTime,
float InValue,
const bool bUnwindRotation,
FKeyHandle KeyHandle
)
Add a new key to the curve with the supplied Time and Value. Returns the handle of the new key.
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 |