FCurveSequence::GetLerp

For single-curve animations, returns the interpolation alpha for the animation.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Animation/CurveSequence.h

Include

#include "Animation/CurveSequence.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Animation/CurveSequence.cpp

Syntax

float GetLerp() const

Remarks

For single-curve animations, returns the interpolation alpha for the animation. If you call this function on a sequence with multiple curves, an assertion will trigger.

Returns

A linearly interpolated value between 0 and 1 for this curve.

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