Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Adds a new bone animation track for the provided name. Broadcasts a EAnimDataModelNotifyType::TrackAdded notify if successful.
| Name | AddBoneTrack |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=AnimationData,
Meta=(DeprecatedFunction, DeprecationMessage="AddBoneTrack returning index is deprecated use AddBoneCurve returning bool instead."))
virtual int32 AddBoneTrack
(
FName BoneName,
bool bShouldTransact
)
The index at which the bone track was added, INDEX_NONE if adding it failed
Parameters
| Name | Remarks |
|---|---|
| BoneName | Bone name for which a track should be added |
| bShouldTransact | Whether or not any undo-redo changes should be generated |