Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=AnimationData,
Meta=(DeprecatedFunction, DeprecationMessage="InsertBoneTrack is deprecated use AddBoneTrack instead."))
int32 InsertBoneTrack
(
FName BoneName,
int32 DesiredIndex,
bool bShouldTransact
)
Remarks
Inserts a new bone animation track for the provided name, at the provided index. Broadcasts a EAnimDataModelNotifyType::TrackAdded notify if successful. The bone name is verified with the AnimModel's outer target USkeleton to ensure the bone exists. The index at which the bone track was inserted, INDEX_NONE if the insertion failed
Parameters
| Name | Description |
|---|---|
| BoneName | Bone name for which a track should be inserted |
| DesiredIndex | Index at which the track should be inserted |
| bShouldTransact | Whether or not any undo-redo changes should be generated |