Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController
Deprecated * InsertBoneTrack has been deprecated, use AddBoneTrack instead
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 ( [FName](API\Runtime\Core\UObject\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 |