Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceHelpers.h |
| Include | #include "Animation/AnimSequenceHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimSequenceHelpers.cpp |
namespace UE
{
namespace Anim
{
namespace AnimationData
{
void UE&58;&58;Anim&58;&58;AnimationData&58;&58;DuplicateKeys
&40;
UAnimSequence &42; InSequence,
int32 StartKeyIndex,
int32 NumDuplicates,
int32 SourceKeyIndex
&41;
}
}
}
Remarks
Insert duplicate key(s) for all tracks for the provided Animation Sequence
Parameters
| Name | Description |
|---|---|
| InSequence | Animation Sequence to add the duplicated animation frames |
| StartKeyIndex | Key index after which the duplicate keys should be inserted |
| NumDuplicates | Number of duplicated keys to insert |
| SourceKeyIndex | Specific key index to use as a source for the duplicated keys, otherwise uses key at StartKeyIndex |