UInterpTrackAnimControl::ConditionallyReversePosition

Calculates the reversed time for a sequence key, if the key has bReverse set.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Matinee/InterpTrackAnimControl.h

Include

#include "Matinee/InterpTrackAnimControl.h"

Source

/Engine/Source/Runtime/Engine/Private/Interpolation.cpp

Syntax

float ConditionallyReversePosition
(
    FAnimControlTrackKey & SeqKey,
    UAnimSequence * Seq,
    float InPosition
)

Remarks

Calculates the reversed time for a sequence key, if the key has bReverse set.

Returns

Returns the position in the specified seq key.

Parameters

Parameter

Description

SeqKey

Key that is reveresed and we are trying to find a position for.

Seq

Anim sequence the key represents. If NULL, the function will lookup the sequence.

InPosition

Timeline position that we are currently at.

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