UInterpTrackAnimControl::SetKeyframeTime

Changes the time of the given key with the new given time.

Windows
MacOS
Linux

Override Hierarchy

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

virtual int32 SetKeyframeTime
(
    int32 KeyIndex,
    float NewKeyTime,
    bool bUpdateOrder
)

Remarks

Changes the time of the given key with the new given time.

Returns

This can change the index of the keyframe - the new index is returned.

Parameters

Parameter

Description

KeyIndex

The index key to change in the track's key array.

NewKeyTime

The new time for the given key in the timeline.

bUpdateOrder

When true, moves the key to be in chronological order in the array.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback