FNameCurve::AddKey

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Curves/NameCurve.h"

Source

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

Syntax

FKeyHandle AddKey
(
    float InTime,
    const FName & InValue,
    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

InTime

The time at which to add the key.

InValue

The value of the key.

KeyHandle

Optional handle for the new 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