Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController > API/Developer/AnimationDataController/UAnimDataController/SetBoneTrackKeys
- IAnimationDataController::SetBoneTrackKeys()
- UAnimDataController::SetBoneTrackKeys()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
| Source | /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp |
virtual bool SetBoneTrackKeys
&40;
FName BoneName,
const TArray< FVector3f > & PositionalKeys,
const TArray< FQuat4f > & RotationalKeys,
const TArray< FVector3f > & ScalingKeys,
bool bShouldTransact
&41;
Remarks
Removes an existing bone animation track with the provided name. Broadcasts a EAnimDataModelNotifyType::TrackChanged notify if successful. The provided number of keys provided is expected to match for each component, and be non-zero. Whether or not the keys were successfully set
Parameters
| Name | Description |
|---|---|
| BoneName | Bone name of the track for which the keys should be set |
| PositionalKeys | Array of keys for the translation component |
| RotationalKeys | Array of keys for the rotation component |
| ScalingKeys | Array of keys for the scale component |
| bShouldTransact | Whether or not any undo-redo changes should be generated |