UInterpTrackToggle::DuplicateKeyframe

Duplicates the given key.

Windows
MacOS
Linux

Override Hierarchy

UInterpTrack::DuplicateKeyframe()

UInterpTrackToggle::DuplicateKeyframe()

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrackToggle.h"

Source

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

Syntax

virtual int32 DuplicateKeyframe
(
    int32 KeyIndex,
    float NewKeyTime,
    UInterpTrack * ToTrack
)

Remarks

Duplicates the given key.

Returns

The new index for the given key.

Parameters

Parameter

Description

KeyIndex

The index of the key to duplicate in this track's array of keys.

NewKeyTime

The time to assign to the duplicated key.

ToTrack

Optional, if specified duplicates the key this track instead of 'this'

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