Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
Deprecated * InsertBoneTrack has been deprecated, use AddBoneTrack instead
- IAnimationDataController::InsertBoneTrack()
- UAnimDataController::InsertBoneTrack()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
| Source | /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp |
virtual int32 InsertBoneTrack
&40;
FName BoneName,
int32 DesiredIndex,
bool bShouldTransact
&41;
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 |