UInterpTrackMove::GetKeyframeRotation

Get the rotation of a keyframe given its key index.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrackMove.h"

Source

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

Syntax

void GetKeyframeRotation
(
    UInterpTrackInst * TrInst,
    int32 KeyIndex,
    float & OutTime,
    FVector & OutRot,
    FVector * OutArriveTangent,
    FVector * OutLeaveTangent
)

Remarks

Get the rotation of a keyframe given its key index. Also optionally retrieves the Arrive and Leave tangents for the key. This function respects the LookupTrack.

Parameters

Parameter

Description

TrInst

TrackInst to use for lookup track rotations.

KeyIndex

Index of the keyframe to get the rotation of.

OutTime

Final time of the keyframe.

OutRot

Final rotation of the keyframe.

OutArriveTangent

Pointer to a FVector to store the arrive tangent in, can be NULL.

OutLeaveTangent

Pointer to a FVector to store the leave tangent in, can be NULL.

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