FSimpleCurve::UpdateOrAddKey

Finds the key at InTime, and updates its value.

Windows
MacOS
Linux

Override Hierarchy

FRealCurve::UpdateOrAddKey()

FSimpleCurve::UpdateOrAddKey()

References

Module

Engine

Header

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

Include

#include "Curves/SimpleCurve.h"

Source

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

Syntax

virtual FKeyHandle UpdateOrAddKey
(
    float InTime,
    float InValue,
    const bool bUnwindRotation,
    float KeyTimeTolerance
)

Remarks

Finds the key at InTime, and updates its value. If it can't find the key within the KeyTimeTolerance, it adds one at that time

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